commit | e548974ca8c1957c583912e9f353ab8fc59f41d8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 26 14:44:03 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 26 14:46:55 2018 +0100 |
tree | a4b7c4c4f127ead15efd480c3c30211590b855d5 | |
parent | 3bfcd10218f96acfdbbf17a898df07703b73e06d [diff] |
MINOR: compression: always create the compression pool Surprisingly, the compression pool was created at runtime on first use, which is not very convenient, has performance and reliability impacts, and even makes monitoring less easy. Let's move the pool creation at startup time instead. This even removes the need for the spinlock in case USE_ZLIB is not defined.