]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] indicate when we don't care about read timeout
authorWilly Tarreau <w@1wt.eu>
Sun, 14 Dec 2008 08:04:47 +0000 (09:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 28 Dec 2008 10:06:40 +0000 (11:06 +0100)
commit86491c3164b50978fb6ee347920aa440b7ac8050
treef5e097c1489aa524bd81c7043ed46a078866b3d8
parentdd80c6f92ded152dbe9fa4bfc87d921997cb4392
[MEDIUM] indicate when we don't care about read timeout

Sometimes we don't care about a read timeout, for instance, from the
client when waiting for the server, but we still want the client to
be able to read.

Till now it was done by articially forcing the read timeout to ETERNITY.
But this will cause trouble when we want the low level stream sock to
communicate without waking the session up. So we add a BF_READ_NOEXP
flag to indicate that when the read timeout is to be set, it might
have to be set to ETERNITY.

Since BF_READ_ENA was not used, we replaced this flag.
include/proto/buffers.h
include/types/buffers.h
src/proto_uxst.c
src/session.c
src/stream_sock.c