]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] http: wait for some flush of the response buffer before a new request
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Jan 2010 23:30:20 +0000 (00:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 7 Jan 2010 23:36:57 +0000 (00:36 +0100)
commit065e8338e863aae0395fb385eca7eb3dfcb4a945
treed0aa046430c19e0895933b625a77807fcc1d7941
parentea65e68cc8b9c1de6f07c2109274793fe98fe0e8
[MEDIUM] http: wait for some flush of the response buffer before a new request

If we accept a new request and that request produces an immediate
response (error, redirect, ...), then we may fail to send it in
case of pipelined requests if the response buffer is full. To avoid
this, we check the availability of at least maxrewrite bytes in the
response buffer before accepting a new pipelined request.
src/proto_http.c