Fix DoH quota global variables type

The 'named_g_http_listener_clients' and 'named_g_http_streams_per_conn'
global variables are defined as 'in_port_t', which is usually 16 bits,
but both the readers and the writers of those variables use 'uint32_t'
as the target/source, which can result in truncation.

Use correct types.

(cherry picked from commit 281660ecc1)
This commit is contained in:
Aram Sargsyan 2026-05-25 12:11:30 +00:00 committed by Arаm Sаrgsyаn (GitLab job 7590674)
parent d8c573f73b
commit cdceadf3f1

View file

@ -78,8 +78,8 @@ EXTERN in_port_t named_g_tlsport INIT(0);
EXTERN in_port_t named_g_httpsport INIT(0);
EXTERN in_port_t named_g_httpport INIT(0);
EXTERN in_port_t named_g_http_listener_clients INIT(0);
EXTERN in_port_t named_g_http_streams_per_conn INIT(0);
EXTERN uint32_t named_g_http_listener_clients INIT(0);
EXTERN uint32_t named_g_http_streams_per_conn INIT(0);
EXTERN named_server_t *named_g_server INIT(NULL);