]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: proto-htx: Set SI_FL_NOHALF on server side when request is done
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Jan 2019 16:44:13 +0000 (17:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 17:45:00 +0000 (18:45 +0100)
commitd01ce4003d31c14d1eaed50f6c0bd9a83c6296a2
tree07846bb0873839ffd217a57a1dfb65f411033dd9
parentd7607de06574f00e999434051e082615908939a6
BUG/MEDIUM: proto-htx: Set SI_FL_NOHALF on server side when request is done

In the function htx_end_request, the flag SI_FL_NOHALF must be set on the server
side once the request is in the state HTTP_MSG_DONE. But the response state was
checked before and the flag was only set when the response was also in the state
HTTP_MSG_DONE. Of course, it is not desirable.

This patch must be backported to 1.9.
src/proto_htx.c