From: Matus Fabian Date: Thu, 17 Jul 2025 13:42:54 +0000 (-0400) Subject: http: h2 coverity fix X-Git-Tag: v26.02-rc0~164 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F43446%2F4;p=vpp.git http: h2 coverity fix Type: fix Change-Id: Ib5ac44ae95a7e0c62830b8a93803312cbc875f88 Signed-off-by: Matus Fabian --- diff --git a/src/plugins/http/http2/http2.c b/src/plugins/http/http2/http2.c index 89479f3c73b..77a9c661a24 100644 --- a/src/plugins/http/http2/http2.c +++ b/src/plugins/http/http2/http2.c @@ -1580,10 +1580,7 @@ http2_req_state_transport_io_more_data (http_conn_t *hc, http2_req_t *req, else { /* we are done wait for the next app request */ - http_req_state_change (&req->base, - hc->flags & HTTP_CONN_F_IS_SERVER ? - HTTP_REQ_STATE_WAIT_APP_REPLY : - HTTP_REQ_STATE_WAIT_APP_METHOD); + http_req_state_change (&req->base, HTTP_REQ_STATE_WAIT_APP_METHOD); transport_connection_reschedule (&req->base.connection); h2c = http2_conn_ctx_get_w_thread (hc); http2_conn_reset_req (h2c, req, hc->c_thread_index);