]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: use si_cant_put() instead of setting SI_FL_WAIT_ROOM
authorWilly Tarreau <w@1wt.eu>
Tue, 6 Nov 2018 18:10:53 +0000 (19:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 11 Nov 2018 09:18:37 +0000 (10:18 +0100)
commitaf4f6f6d2f2ec97ac9f600daf8a88b63bd589ffa
tree366c25233b05db97ab2cd0ac58bbc30f271e150b
parent394970c29737ad808f29dbe331aece73b6d37262
MINOR: stream-int: use si_cant_put() instead of setting SI_FL_WAIT_ROOM

We now do this on the si_cs_recv() path so that we always have
SI_FL_WANT_PUT properly set when there's a need to receive and
SI_FL_WAIT_ROOM upon failure.
include/proto/stream_interface.h
src/stream_interface.c