]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http: 100-continue responses must process the next part immediately
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Apr 2014 16:59:35 +0000 (18:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Apr 2014 18:21:56 +0000 (20:21 +0200)
commit4d1f128a1807c97d08390e09cf0c84c0cb28af80
tree51a1fe4571bd8503aeea6f9090504a092f405db0
parentefdf094df2730c6db20975be747e70adb53eec85
BUG/MEDIUM: http: 100-continue responses must process the next part immediately

Since commit d7ad9f5 ("MAJOR: channel: add a new flag CF_WAKE_WRITE to
notify the task of writes"), we got another bug with 100-continue responses.
If the final response comes in the same packet as the 100, then the rest of
the buffer is not processed since there is no wake-up event.

In fact the change above uncoverred the real culprit which is more
likely session.c which should detect that an earlier analyser was set
and should loop back to it.

A cleaner fix would be better, but setting the flag works fine.
This issue was introduced in 1.5-dev22, no backport is needed.
src/proto_http.c