From: Matus Fabian Date: Sun, 8 Jun 2025 14:37:01 +0000 (-0400) Subject: http: h2 fix msg.data.len passed to server app X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F43105%2F1;p=vpp.git http: h2 fix msg.data.len passed to server app Type: fix Change-Id: Iac4e5edf42280a3d6679e12e0dd338adfe16aaf3 Signed-off-by: Matus Fabian --- diff --git a/src/plugins/http/http2/http2.c b/src/plugins/http/http2/http2.c index ac0e567bb9a..36a27f40de4 100644 --- a/src/plugins/http/http2/http2.c +++ b/src/plugins/http/http2/http2.c @@ -888,7 +888,7 @@ http2_req_state_wait_transport_method (http_conn_t *hc, http2_req_t *req, msg.type = HTTP_MSG_REQUEST; msg.method_type = control_data.method; msg.data.type = HTTP_MSG_DATA_INLINE; - msg.data.len = req->base.connection_header_index; + msg.data.len = req->base.control_data_len; msg.data.scheme = control_data.scheme; msg.data.target_authority_offset = control_data.authority - wrk->header_list; msg.data.target_authority_len = control_data.authority_len;