]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h1: fix buffer shift after realignment
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Sep 2018 08:48:15 +0000 (10:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Sep 2018 08:48:15 +0000 (10:48 +0200)
commit950a8a6fde81054ed28862a2ab7e24df95e1f1c8
treecea5560beb45fb183128a35f9af78c17a4d4fabc
parent22de8d3e01d58ea175af158ebe9ae7f26bbc7e35
BUG/MINOR: h1: fix buffer shift after realignment

Commit 5e74b0b ("MEDIUM: h1: port to new buffer API.") introduced a
minor bug by which a buffer's head could stay shifted by the amount
of removed CRLF if it started with empty lines. This would cause the
second request (or response) not to work until it would receive a few
extra characters. This most only impacts requests sent by hand though.

This is purely 1.9, no backport is needed.
src/h1.c