]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] http: don't immediately enable reading on request
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 13:38:03 +0000 (14:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 13:54:32 +0000 (14:54 +0100)
commit5e8949cf84352405541358da502998dc57ba533c
tree5ec139208ce500f99df1791ba624ce706fe6a047
parenta95a1f46143d56996b55df6dac87007472570832
[OPTIM] http: don't immediately enable reading on request

If we enable reading of a request immediately after completing
another one, we end up performing small reads until the request
buffer is complete. This takes time and makes it harder to realign
the buffer when needed. Just enable reading when we need to.
src/proto_http.c