mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 16:20:26 -05:00
- For #1103: fix to also drop mesh state reference when a h2 reply is
dropped.
This commit is contained in:
parent
3adb9c8f92
commit
d52f501d90
2 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
12 July 2024: Wouter
|
12 July 2024: Wouter
|
||||||
- Fix #1103: unbound 1.20.0 segmentation fault with nghttp2.
|
- Fix #1103: unbound 1.20.0 segmentation fault with nghttp2.
|
||||||
|
- For #1103: fix to also drop mesh state reference when a h2 reply is
|
||||||
|
dropped.
|
||||||
|
|
||||||
10 July 2024: Wouter
|
10 July 2024: Wouter
|
||||||
- For #773: In contrib/unbound.service.in set unbound to start after
|
- For #773: In contrib/unbound.service.in set unbound to start after
|
||||||
|
|
|
||||||
|
|
@ -974,6 +974,9 @@ mesh_state_cleanup(struct mesh_state* mstate)
|
||||||
for(; rep; rep=rep->next) {
|
for(; rep; rep=rep->next) {
|
||||||
infra_wait_limit_dec(mesh->env->infra_cache,
|
infra_wait_limit_dec(mesh->env->infra_cache,
|
||||||
&rep->query_reply, mesh->env->cfg);
|
&rep->query_reply, mesh->env->cfg);
|
||||||
|
if(rep->query_reply.c->use_h2)
|
||||||
|
http2_stream_remove_mesh_state(
|
||||||
|
rep->query_reply.c->h2_stream);
|
||||||
comm_point_drop_reply(&rep->query_reply);
|
comm_point_drop_reply(&rep->query_reply);
|
||||||
log_assert(mesh->num_reply_addrs > 0);
|
log_assert(mesh->num_reply_addrs > 0);
|
||||||
mesh->num_reply_addrs--;
|
mesh->num_reply_addrs--;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue