]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: update the {MUX,DEM}_{M,D}ALLOC flags on buffer availability
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Sep 2017 09:55:01 +0000 (11:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:17 +0000 (18:16 +0100)
commit1b62c5caefbb3b29dea03f225404fe85cf4c98a2
tree86c3a80fb7360ca23ad5939e701e704f18c62fcb
parent3ccf4b2a2011245783b526340827075010a94daf
MINOR: h2: update the {MUX,DEM}_{M,D}ALLOC flags on buffer availability

Flag H2_CF_DEM_DALLOC is set when the demux buffer fails to be allocated
in the recv() callback, and is cleared when it succeeds.

Both flags H2_CF_MUX_MALLOC and H2_CF_DEM_MROOM are cleared when the mux
buffer allocation succeeds.

In both cases it will be up to the callers to report allocation failures.
src/mux_h2.c