MINOR: connection: add a flags argument to rcv_buf()
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Jun 2018 04:15:17 +0000 (06:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:41 +0000 (16:23 +0200)
commit7f3225f2512f4b7e212212705ec5caecb5c7be74
tree1f79760e975af5de1fc0c85b152701bdd09e4f28
parentd9cf540457342d1a14722a9f3212eceab3847349
MINOR: connection: add a flags argument to rcv_buf()

The mux and transport rcv_buf() now takes a "flags" argument, just like
the snd_buf() one or like the equivalent syscall lower part. The upper
layers will use this to pass some information such as indicating whether
the buffer is free from outgoing data or if the lower layer may allocate
the buffer itself.
include/types/connection.h
src/checks.c
src/mux_h2.c
src/mux_pt.c
src/raw_sock.c
src/ssl_sock.c
src/stream_interface.c