From: W.C.A. Wijngaards Date: Tue, 2 Dec 2025 14:31:53 +0000 (+0100) Subject: - Fix to remove http2 stream mesh state when mesh new request is X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b858801feb9bf9021491b9797f3d2ebc745c36b0;p=thirdparty%2Funbound.git - Fix to remove http2 stream mesh state when mesh new request is dropping the new request. --- diff --git a/doc/Changelog b/doc/Changelog index e5f712698..de00057f1 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +2 December 2025: Wouter + - Fix to remove http2 stream mesh state when mesh new request is + dropping the new request. + 1 December 2025: Wouter - Fix to add EDNS CO flag to testbound and debug message log. - Fix header comment about EDE reference in validator/val_sigcrypt.h. diff --git a/services/mesh.c b/services/mesh.c index 4a947766d..3a1cc2a78 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -463,6 +463,8 @@ void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo, if(!mesh_make_new_space(mesh, rep->c->buffer)) { verbose(VERB_ALGO, "Too many queries. dropping " "incoming query."); + if(rep->c->use_h2) + http2_stream_remove_mesh_state(rep->c->h2_stream); comm_point_drop_reply(rep); mesh->stats_dropped++; return; @@ -474,6 +476,8 @@ void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo, if(mesh->num_reply_addrs > mesh->max_reply_states*16) { verbose(VERB_ALGO, "Too many requests queued. " "dropping incoming query."); + if(rep->c->use_h2) + http2_stream_remove_mesh_state(rep->c->h2_stream); comm_point_drop_reply(rep); mesh->num_queries_replyaddr_limit++; return;