Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0d6c4be
)
http: h2 coverity fix
46/43446/4
author
Matus Fabian
<
[email protected]
>
Thu, 17 Jul 2025 13:42:54 +0000
(09:42 -0400)
committer
Florin Coras
<
[email protected]
>
Sun, 20 Jul 2025 20:05:41 +0000
(20:05 +0000)
Type: fix
Change-Id: Ib5ac44ae95a7e0c62830b8a93803312cbc875f88
Signed-off-by: Matus Fabian <
[email protected]
>
src/plugins/http/http2/http2.c
patch
|
blob
|
history
diff --git
a/src/plugins/http/http2/http2.c
b/src/plugins/http/http2/http2.c
index
89479f3
..
77a9c66
100644
(file)
--- 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);