]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http: clear CF_READ_NOEXP when preparing a new transaction
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Jun 2014 12:11:44 +0000 (14:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Jun 2014 12:11:44 +0000 (14:11 +0200)
commit77d29029af1c44216b190dd7442964b9d8f45257
tree0b3f0f808e882cae6095a2c839d4f2b738a03408
parentd1dcea064cbf0f22168af37dc8ad7305f8b74669
BUG/MEDIUM: http: clear CF_READ_NOEXP when preparing a new transaction

Commit b1982e2 ("BUG/MEDIUM: http/session: disable client-side expiration
only after body") was tricky and caused an issue which was fixed by commit
0943757 ("BUG/MEDIUM: session: don't clear CF_READ_NOEXP if analysers are
not called"). But that's not enough, another issue was introduced and further
emphasized by last fix.

The issue is that the CF_READ_NOEXP flag needs to be cleared when waiting
for a new request over that connection, otherwise we cannot expire anymore
an idle connection waiting for a new request.

This explains the neverending keepalives reported by at least 3 different
persons since dev24. No backport is needed.
src/proto_http.c