]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: http: don't manipulate the server connection if it's killed
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2015 08:40:43 +0000 (10:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2015 08:52:05 +0000 (10:52 +0200)
commitbd99d5818d0beea8458189ba22989b0183cd6785
tree4a2fc782f7302498ac4771b5523388bab9eaccf7
parent61d301fbfb4252dc72f80af919dcfeb7eaf27c10
BUG/MAJOR: http: don't manipulate the server connection if it's killed

Jesse Hathaway reported a crash that Cyril Bonté diagnosed as being
caused by the manipulation of srv_conn after setting it to NULL. This
happens in http-server-close mode when the server returns either a 401
or a 407, because the connection was previously closed then it's being
assigned the CO_FL_PRIVATE flag.

This bug only affects 1.6-dev as it was introduced by connection reuse code
with commit 387ebf8 ("MINOR: connection: add a new flag CO_FL_PRIVATE").
src/proto_http.c