MEDIUM: stream-int: replace channel_alloc_buffer() with si_alloc_ibuf() everywhere
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2018 08:21:41 +0000 (10:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 28 Oct 2018 12:47:00 +0000 (13:47 +0100)
commit581abd3f9923387882be97652843cb309396e123
tree5a2d9ec0a3af75f67bc665c738bb1efcf3d9bb80
parent0979916d3bffc2e87b903559cc793e822ef94c26
MEDIUM: stream-int: replace channel_alloc_buffer() with si_alloc_ibuf() everywhere

Well that's only 3 places (applet.c, stream_interface.c, hlua.c). This
ensures we always clear SI_FL_WAIT_ROOM before setting it on failure,
so that it is granted that SI_FL_WAIT_ROOM always indicates a lack of
room for doing an operation, including the inability to allocate a
buffer for this.
src/applet.c
src/hlua.c
src/stream_interface.c