]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] http: analyser optimizations broke pipelining
authorWilly Tarreau <w@1wt.eu>
Fri, 17 Dec 2010 06:13:42 +0000 (07:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Dec 2010 06:15:57 +0000 (07:15 +0100)
commit0499e3575c610bbe55c9e19f415ed965fc2d82c2
tree165043f0d6ce02ef1f957f6243b9449f17b0134b
parent35ed8019e3efd3d2c04827d2e358db3bd5bc31f6
[BUG] http: analyser optimizations broke pipelining

HTTP pipelining currently needs to monitor the response buffer to wait
for some free space to be able to send a response. It was not possible
for the HTTP analyser to be called based on response buffer activity.
Now we introduce a new buffer flag BF_WAKE_ONCE which is set when the
HTTP request analyser is set on the response buffer and some activity
is detected. This is not clean at all but once of the only ways to fix
the issue before we make it possible to register events for analysers.

Also it appeared that one realign condition did not cover all cases.
include/types/buffers.h
src/proto_http.c
src/session.c