Skip to content

Commit

Permalink
- Fix dnsoverquic to extend the number of streams when one is closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Oct 14, 2024
1 parent 114edf2 commit 2a28c73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions services/listen_dnsport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 2a28c73

Please sign in to comment.