]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] http: rework the buffer alignment logic
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Dec 2009 16:39:57 +0000 (17:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Dec 2009 16:39:57 +0000 (17:39 +0100)
commit83e3af0c8630cc8db69c6b2756b82013d2c11b56
treeb53a446eda0d48b70ab7416a602892066fab1843
parent864e8256ec767826964f0c8b27d468a1ea1ed9aa
[MEDIUM] http: rework the buffer alignment logic

There were still issues with the buffer alignment. Now we ensure
that we always align it before a request or response is completely
parsed if there is less than maxrewrite bytes free at the end. In
practice, it's not called that often and ensures we can always work
as expected.
src/proto_http.c