]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tcp: add support for the defer_accept bind option
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Oct 2009 05:34:14 +0000 (07:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Oct 2009 05:34:14 +0000 (07:34 +0200)
commitcb6cd43725b89ca2f5c359a7bcab542af051e73e
tree9746ca7cdc2a729739388383c47d37acde04a1a1
parentf2d2b1d128dfa91719bb70cc847b4a14df27c4be
[MINOR] tcp: add support for the defer_accept bind option

This can ensure that data is readily available on a socket when
we accept it, but a bug in the kernel ignores the timeout so the
socket can remain pending as long as the client does not talk.
Use with care.
doc/configuration.txt
include/types/protocols.h
src/cfgparse.c
src/proto_tcp.c