http: zero hdr.gso_size in udp_tunnel_rx 33/43533/2
authorMatus Fabian <[email protected]>
Mon, 11 Aug 2025 09:27:24 +0000 (05:27 -0400)
committerFlorin Coras <[email protected]>
Mon, 11 Aug 2025 18:47:21 +0000 (18:47 +0000)
Type: fix

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

index d8e313b..146ee8d 100644 (file)
@@ -1228,6 +1228,7 @@ http1_req_state_udp_tunnel_rx (http_conn_t *hc, http_req_t *req,
 
       hdr.data_length = payload_len;
       hdr.data_offset = 0;
+      hdr.gso_size = 0;
 
       /* send datagram header and payload */
       svm_fifo_seg_t segs[2] = { { (u8 *) &hdr, sizeof (hdr) },
index 24d183d..b56518a 100644 (file)
@@ -1745,6 +1745,7 @@ http2_req_state_udp_tunnel_rx (http_conn_t *hc, http2_req_t *req,
 
   hdr.data_length = payload_len;
   hdr.data_offset = 0;
+  hdr.gso_size = 0;
 
   /* send datagram header and payload */
   svm_fifo_seg_t segs[2] = { { (u8 *) &hdr, sizeof (hdr) },