]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] stream_interface: fix retnclose and remove cond_close
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Jan 2010 09:21:21 +0000 (10:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Jan 2010 09:21:21 +0000 (10:21 +0100)
commit148d099406d91332c744f3a1e2942e64486a41d2
tree13f009c0303522262f6597914f518657b1d18c40
parent41689c22da8bcbb877449a0ce20fec05b2515ee0
[BUG] stream_interface: fix retnclose and remove cond_close

The stream_int_cond_close() function was added to preserve the
contents of the response buffer because stream_int_retnclose()
was buggy. It flushed the response instead of flushing the
request. This caused issues with pipelined redirects followed
by error messages which ate the previous response.

This might even have caused object truncation on pipelined
requests followed by an error or by a server redirection.

Now that this is fixed, simply get rid of the now useless
function.
include/proto/stream_interface.h
src/proto_http.c
src/stream_interface.c