]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: http: fix the 'next' pointer when performing a redirect
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Apr 2014 10:19:32 +0000 (12:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Apr 2014 10:21:09 +0000 (12:21 +0200)
commit6d8bac7ddc4d12c8136ef5843f5d7479390f426e
tree8aad0d5bd98a4845239b0ded2eba7f030043657f
parent1746eecc524c80981786b36353c4cbce35df9ff8
BUG/MAJOR: http: fix the 'next' pointer when performing a redirect

Commit bed410e ("MAJOR: http: centralize data forwarding in the request path")
has woken up an issue in redirects, where msg->next is not reset when flushing
the input buffer. The result is an attempt to forward a negative amount of
data, making haproxy crash.

This bug does not seem to affect versions prior to dev23, so no backport is
needed.
src/proto_http.c