]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix dnsoverquic to extend the number of streams when one is closed.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 14 Oct 2024 11:53:55 +0000 (13:53 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 14 Oct 2024 11:53:55 +0000 (13:53 +0200)
doc/Changelog
services/listen_dnsport.c

index 620f06b07b133f3e71dc96800e4c133a51552ed8..e759188ae0510be2266a5c90b8fb9c859ff9f458 100644 (file)
@@ -1,6 +1,7 @@
 14 October 2024: Wouter
        - Fix to display warning if quic-port is set but dnsoverquic is not
          enabled when compiled.
+       - Fix dnsoverquic to extend the number of streams when one is closed.
 
 11 October 2024: Wouter
        - Fix to disable detection of quic configured ports when quic is
index 078a344d3664cc4c3c522b9efb9c2fed4716224b..5dbac3650aaf0e446850ceb1b3e054b44949f181 100644 (file)
@@ -3929,6 +3929,9 @@ doq_stream_close(struct doq_conn* conn, struct doq_stream* stream,
                }
                doq_conn_write_enable(conn);
        }
+       verbose(VERB_ALGO, "doq: conn extend max streams bidi by 1");
+       ngtcp2_conn_extend_max_streams_bidi(conn->conn, 1);
+       doq_conn_write_enable(conn);
        doq_stream_remove_in_buffer(stream, conn->doq_socket->table);
        doq_stream_remove_out_buffer(stream, conn->doq_socket->table);
        doq_table_quic_size_subtract(conn->doq_socket->table, sizeof(*stream));