]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] http: fix again the forward analysers
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Jan 2010 20:15:02 +0000 (21:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jan 2010 20:15:02 +0000 (21:15 +0100)
commit610ecceef9821952c10c967296b7d74e3abe8dee
tree1d8ca06d9434acf2586282646f9476f91bfa9851
parente988a79c740146ea0bc9acf9b67918533e632f1e
[MAJOR] http: fix again the forward analysers

There were still several situations leading to CLOSE_WAIT sockets
remaining there forever because some complex transitions were
obviously not caught due to the impossibility to resync changes
between the request and response FSMs.

This patch now centralizes the global transaction state and feeds
it from both request and response transitions. That way, whoever
finishes first, there will be no issue for converging to the correct
state.

Some heavy use of the new debugging function has helped a lot. Maybe
those calls could be removed after some time. First tests are very
positive.
include/types/proto_http.h
src/proto_http.c