]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: differentiate waiting for new request and waiting for a complete requst
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Jan 2010 13:21:19 +0000 (14:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Jan 2010 13:24:53 +0000 (14:24 +0100)
commitfcffa6911cfdbf7f52cc5ab7fab45488cea31564
treed8a3fb4708063ca9d16edb6eef5ab66f02209be3
parent520bbb2b856f62d9643c3b3049e4522beecae3af
[MINOR] http: differentiate waiting for new request and waiting for a complete requst

While waiting in a keep-alive state for a request, we want to silently
close if we don't get anything. However if we get a partial request it's
different because that means the client has started to send something.
This requires a new transaction flag. It will be used to implement a
distinct timeout for keep-alive and requests.
include/types/proto_http.h
src/proto_http.c