]> git.kaiwu.me - haproxy.git/commit
MEDIUM: http: only allocate the temporary compression buffer when needed
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Apr 2014 09:27:29 +0000 (11:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Apr 2014 21:15:29 +0000 (23:15 +0200)
commit32b5ab2a28614e74f2a57e2dc9a1855ebc24ffcf
tree7876a1e02c6a48728e5e7e7cdd10b73f0dd0d0dd
parentd5a6783ac9ca54777803943c334570ff4740f560
MEDIUM: http: only allocate the temporary compression buffer when needed

Since we know when the buffer is needed, only check for its allocation
at the same place in order to avoid useless tests on the normal path.
src/proto_http.c