]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: also arm the h2 timeout when sending
authorWilly Tarreau <w@1wt.eu>
Mon, 5 Mar 2018 15:10:54 +0000 (16:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Mar 2018 17:43:56 +0000 (18:43 +0100)
commit84b118f3120b3c61156f0ada12ae6456bd1a0b5a
treedacd60864e373720a02468765c003b35666a5b0c
parentc41b3e8dff5b24a0884eb131463684edafec3d9c
BUG/MEDIUM: h2: also arm the h2 timeout when sending

Right now the h2 idle timeout is only set when there is no stream. If we
fail to send because the socket buffers are full (generally indicating
the client has left), we also need to arm it so that we can properly
expire such connections, otherwise some failed transfers might leave
H2 connections pending forever.

Thanks to Thierry Fournier for the diag and the traces.

This patch needs to be backported to 1.8.
src/mux_h2.c