]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: Don't reset the transaction if there are still data to send
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Jul 2017 13:51:35 +0000 (15:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Jul 2017 21:06:57 +0000 (23:06 +0200)
commita94fda30bd5638a77ea96a1c5fca7945fe736714
tree8b2430d726c4c8d57fb0f81b6ee8f6af4f2aab39
parentcdaea89a0c0eb8c028ce9220c1af7ea795845dd7
BUG/MINOR: http: Don't reset the transaction if there are still data to send

To reset an HTTP transaction, we need to be sure all data were sent, for the
request and the response. There are tests on request and response buffers for
that in http_resync_states function. But the return code was wrong. We must
return 0 to wait.

This patch must be backported in 1.7
src/proto_http.c