http: h2 free stream scheduler heads with conn 93/43493/3
authorMatus Fabian <[email protected]>
Tue, 29 Jul 2025 09:55:37 +0000 (05:55 -0400)
committerFlorin Coras <[email protected]>
Wed, 30 Jul 2025 03:22:27 +0000 (03:22 +0000)
Type: fix

Change-Id: I1cddb7547d08a0668f6e536d77094911d9b26a6e
Signed-off-by: Matus Fabian <[email protected]>
src/plugins/http/http2/http2.c

index d92d52a..4b73fca 100644 (file)
@@ -198,6 +198,8 @@ http2_conn_ctx_free (http_conn_t *hc)
   h2c = http2_conn_ctx_get_w_thread (hc);
   HTTP_DBG (1, "h2c [%u]%x", hc->c_thread_index, h2c - wrk->conn_pool);
   ASSERT (h2c->req_num == 0);
+  pool_put_index (wrk->req_pool, h2c->new_tx_streams);
+  pool_put_index (wrk->req_pool, h2c->old_tx_streams);
   hash_free (h2c->req_by_stream_id);
   if (hc->flags & HTTP_CONN_F_HAS_REQUEST)
     hpack_dynamic_table_free (&h2c->decoder_dynamic_table);