]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] ensure we can jump from swiching rules to http without data
authorWilly Tarreau <w@1wt.eu>
Sun, 12 Jul 2009 07:55:41 +0000 (09:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 12 Jul 2009 07:55:41 +0000 (09:55 +0200)
commitd88bb6f819e947d34c17270b3c5e7079b4b8ea3a
treef079f9e3600d4e05ee8f1c02e5076401147fb5c8
parent51aecc76f8dea77a151982875322c0f606d4f856
[MINOR] ensure we can jump from swiching rules to http without data

In case of switching from TCP to HTTP, we want the HTTP request timeout
to be properly initialized. For this, we have to jump to the analyser
without breaking out of the loop nor waiting for incoming data. The way
it is done right now is not particularly clean but it works.

A cleaner method might involve pushing function pointers into a circular
list.
src/session.c