]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: implement qc_notify_send()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 Feb 2023 14:08:59 +0000 (15:08 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 1 Mar 2023 13:29:16 +0000 (14:29 +0100)
commite0fe118dad6cf78c3e563aff9726b8e015d87340
tree0837ec37905ca13a65480c6ace7a356efdabc14c
parent37333864ef9f4954d10ab9ea0e58da99c941a302
MINOR: quic: implement qc_notify_send()

Implement qc_notify_send(). This function is responsible to notify the
upper layer subscribed on SUB_RETRY_SEND if sending condition are back
to normal.

For the moment, this patch has no functional change as only congestion
window room is checked before notifying the upper layer. However, this
will be extended when poller subscribe of socket on sendto() error will
be implemented. qc_notify_send() will thus be responsible to ensure that
all condition are met before wake up the upper layer.

This should be backported up to 2.7.
include/haproxy/quic_conn.h
src/quic_conn.c