]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: notify on send ready
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 Feb 2023 14:11:26 +0000 (15:11 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 1 Mar 2023 13:32:37 +0000 (14:32 +0100)
commitcaa16549b81baca7426ed838a8a94b4cc5c441fe
tree67b7be9f17c47fffd163ba5aaf5193c249fcd90f
parente1a0ee3cf6bd1487b17cfd134b6731c18452a832
MINOR: quic: notify on send ready

This patch completes the previous one with poller subscribe of quic-conn
owned socket on sendto() error. This ensures that mux-quic is notified
if waiting on sending when a transient sendto() error is cleared. As
such, qc_notify_send() is called directly inside socket I/O callback.

qc_notify_send() internal condition have been thus completed. This will
prevent to notify upper layer until all sending condition are fulfilled:
room in congestion window and no transient error on socket FD.

This should be backported up to 2.7.
src/mux_quic.c
src/quic_conn.c
src/quic_sock.c