]> git.ipfire.org Git - thirdparty/bind9.git/commit
DoH: change how the active streams number is calculated
authorArtem Boldariev <artem@boldariev.com>
Thu, 13 Feb 2025 13:05:10 +0000 (15:05 +0200)
committerArtem Boldariev <artem@boldariev.com>
Wed, 19 Feb 2025 15:52:36 +0000 (17:52 +0200)
commita22bc2d7d4974d730e4a7267d2f85e74db53c688
tree94ba5fa3283bd2322ce83d3c528302f325252e51
parent05e8a508188116e8e367aaf5e68575c8cebb4207
DoH: change how the active streams number is calculated

This commit changes the way how the number of active HTTP streams is
calculated and allows it to scale with the values of the maximum
amount of streams per connection, instead of effectively capping at
STREAM_CLIENTS_PER_CONN.

The original limit, which is intended to define the pipelining limit
for TCP/DoT. However, it appeared to be too restrictive for DoH, as it
works quite differently and implements pipelining at protocol level by
the means of multiplexing multiple streams. That renders each stream
to be effectively a separate connection from the point of view of the
rest of the codebase.
lib/isc/netmgr/http.c