]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] session: only check for timeouts when they have just occurred.
authorWilly Tarreau <w@1wt.eu>
Sun, 21 Jun 2009 20:03:51 +0000 (22:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 21 Jun 2009 20:12:49 +0000 (22:12 +0200)
commitb67a9b8ca885dec7afffdf59b36af6b68e83727b
tree58209ddfce1bb61393523f843def0eeb2798e359
parentea38854d34675d5472319c453b7027af42fe8aab
[MAJOR] session: only check for timeouts when they have just occurred.

It's useless to check for buffer timeouts every time we call
process_session() because we already control when we set the flag. So
let's check them at the precise moment where the flag is set.
src/session.c