MEDIUM: mux: make mux->rcv_buf() take a size_t for the count
authorWilly Tarreau <w@1wt.eu>
Wed, 18 Jul 2018 09:29:06 +0000 (11:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Jul 2018 14:23:41 +0000 (16:23 +0200)
commitd9cf540457342d1a14722a9f3212eceab3847349
treeaf5fe213d66db1beed8dcc5a649d77771c20222e
parentbfc4d77ad3e4ba146c07b3309030b28ddd120c94
MEDIUM: mux: make mux->rcv_buf() take a size_t for the count

It also returns a size_t. This is in order to clean the API. Note
that the H2 mux still uses some ints in the functions called from
h2_rcv_buf(), though it's not really a problem given that H2 frames
are smaller. It may deserve a general cleanup later though.
include/types/connection.h
src/mux_h2.c
src/mux_pt.c