]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] session: initialize server-side timeouts after connect()
authorWilly Tarreau <w@1wt.eu>
Mon, 31 May 2010 10:31:35 +0000 (12:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 08:53:14 +0000 (10:53 +0200)
commitd04e858db0e8072529b176321c1c31aa10c82e59
tree667fd84fcd9034ec26347b7b0f7407df7f0b7bad
parent85e7d00a708f24b925bffc62ef5bd5584caf034c
[MEDIUM] session: initialize server-side timeouts after connect()

It was particularly embarrassing that the server timeout was assigned
to buffers during an accept() just to be potentially changed later in
case of a use_backend rule. The frontend side has nothing to do with
server timeouts.

Now we initialize them right after the connect() succeeds. Later this
should change for a unique stream-interface timeout setting only.
src/frontend.c
src/proto_http.c
src/proxy.c
src/session.c