mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
DoH: Bump the active streams processing limit
This commit bumps the total number of active streams (= the opened streams for which a request is received, but response is not ready) to 60% of the total streams limit. The previous limit turned out to be too tight as revealed by longer (≥1h) runs of "stress:long:rpz:doh+udp:linux:*" tests. (cherry picked from commit eaad0aefe668408d8ae0792796852cc7bccaff0f)
This commit is contained in:
parent
b1ca1b3abc
commit
9977c7e5fa
@ -1583,7 +1583,7 @@ http_too_many_active_streams(isc_nm_http_session_t *session) {
|
|||||||
*/
|
*/
|
||||||
const uint64_t max_active_streams =
|
const uint64_t max_active_streams =
|
||||||
ISC_MAX(ISC_NETMGR_MAX_STREAM_CLIENTS_PER_CONN,
|
ISC_MAX(ISC_NETMGR_MAX_STREAM_CLIENTS_PER_CONN,
|
||||||
session->max_concurrent_streams / 3);
|
(session->max_concurrent_streams * 6) / 10); /* 60% */
|
||||||
|
|
||||||
if (session->client) {
|
if (session->client) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user