]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] initialize msg->sol before parsing first line
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Apr 2007 18:03:18 +0000 (20:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Apr 2007 18:03:18 +0000 (20:03 +0200)
commita9bd19853e9039257c7c15cc855646ea8bae8ca8
treedf036ad900f5e7b54b258f3eaae8e3ed45a27b5f
parent02785764a4625cc10de36bbf1d5dcf2fa87389c3
[BUG] initialize msg->sol before parsing first line

Before calling http_parse_{sts,req}line(), it is necessary
to make msg->sol point to the beginning of the line. This
was not done, resulting in the proxy sometimes crashing when
URI rewriting or result rewriting was used.
src/proto_http.c