]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] process_srv_data: ensure that we always correctly re-arm timeouts
authorWilly Tarreau <w@1wt.eu>
Wed, 27 Aug 2008 19:10:25 +0000 (21:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2008 09:19:05 +0000 (10:19 +0100)
commit8a8188301b710b244a57d5e0aff00e1e5ee27882
tree9890ed76efc916887260ac8f118c679a74f7d467
parent2ac679d9aaaa71609f1d26ba66b79fcc18daaaf3
[MEDIUM] process_srv_data: ensure that we always correctly re-arm timeouts

We really want to ensure that we don't miss a timeout update and do not
update them for nothing. So the code takes care of updating the timeout
in the two following circumstances :
  - it was not set
  - some I/O has been performed

Maybe we'll be able to remove that from stream_sock_{read|write}, or
we'll find a way to ensure that we never have to re-enable this.
src/proto_http.c