]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: http: fix regression introduced by commit a890d072
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Apr 2013 21:16:53 +0000 (23:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Apr 2013 21:19:30 +0000 (23:19 +0200)
commitffb6f08babe3252c73995d1c7f2fba096fa7b370
tree80f5cf6a3ddb2a6a30652d92e0b600a21e2a973c
parent0999f7662c0b1b2f289e062009f52090fde5f74c
BUG/MAJOR: http: fix regression introduced by commit a890d072

This commit fixed a bug and introduced a new one at the same time.
It's a stupid typo, the index to store the context is [0], not [2].

The effect is that parsing the header can loop forever if multiple
headers are found. This issue was reported by Lukas Tribus.
src/proto_http.c