http: http2_conn_cleanup_callback fix 04/43104/2
authorMatus Fabian <[email protected]>
Fri, 6 Jun 2025 22:09:10 +0000 (18:09 -0400)
committerFlorin Coras <[email protected]>
Sat, 7 Jun 2025 23:05:42 +0000 (23:05 +0000)
Type: fix

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

index e8d6dff..ac0e567 100644 (file)
@@ -2019,8 +2019,7 @@ http2_conn_cleanup_callback (http_conn_t *hc)
   vec_foreach (req_index_p, req_indices)
     {
       req = http2_req_get (*req_index_p, hc->c_thread_index);
-      if (req->stream_state != HTTP2_STREAM_STATE_CLOSED)
-       session_transport_delete_notify (&req->base.connection);
+      session_transport_delete_notify (&req->base.connection);
       http2_conn_free_req (h2c, req, hc->c_thread_index);
     }