]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: release compression context only in http_end_txn()
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Mar 2014 14:48:55 +0000 (15:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2014 18:26:20 +0000 (19:26 +0100)
commit7519560767dcca3794d9559ca355b7ebda829ab6
tree65db24577d3d253089f8fb8266eb125517e84521
parent80a92c02f478dc1b836e0c97c891875437fc54da
MINOR: http: release compression context only in http_end_txn()

Currently there are two places where the compression context is released,
one in session_free() and another one in http_end_txn_clean_session().
Both of them call http_end_txn(), either directly or via http_reset_txn(),
and this function is made for this exact purpose. So let's centralize the
call there instead.
src/proto_http.c
src/session.c