From: Matus Fabian Date: Fri, 6 Jun 2025 22:09:10 +0000 (-0400) Subject: http: http2_conn_cleanup_callback fix X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F43104%2F2;p=vpp.git http: http2_conn_cleanup_callback fix Type: fix Change-Id: Id31705fee59d5202ea6924bbd707310d46a0bff8 Signed-off-by: Matus Fabian --- diff --git a/src/plugins/http/http2/http2.c b/src/plugins/http/http2/http2.c index e8d6dff88dc..ac0e567bb9a 100644 --- a/src/plugins/http/http2/http2.c +++ b/src/plugins/http/http2/http2.c @@ -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); }