]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: don't wait for sending requests to the server
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 16:24:51 +0000 (17:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 16:24:51 +0000 (17:24 +0100)
commit2be39394165a82b99734c84879739b2749820800
treeb2d4fc3cd9dbc35c8ca6955bf34a4df17ed9b660
parent6c2cbe14e4bea0f7aafa4923e723ddfee6e0e2aa
[MINOR] http: don't wait for sending requests to the server

By default we automatically wait for enough data to fill large
packets if buf->to_forward is not null. This causes a problem
with POST/Expect requests which have a data size but no data
immediately available. Instead of causing noticeable delays on
such requests, simply add a flag to disable waiting when sending
requests.
include/types/buffers.h
src/proto_http.c
src/stream_sock.c