summaryrefslogtreecommitdiffstats
path: root/src/plugins/http/http.h
diff options
context:
space:
mode:
authorAritra Basu <aritrbas@cisco.com>2024-09-09 21:47:26 -0700
committerFlorin Coras <florin.coras@gmail.com>2024-09-13 21:22:10 +0000
commit6f45f5465f219cb55f0f095c420aae469e550f7f (patch)
treebaaa8a167db282951f1eae9cd6bea93272ff8080 /src/plugins/http/http.h
parent6fbe913e45ff252f5d6497eb81cdcf139afc0d5d (diff)
http: update body_len from u32 to u64
Type: improvement Change-Id: I381541fb180d6d6ba42e4d231d22a73c5d33ef65 Signed-off-by: Aritra Basu <aritrbas@cisco.com>
Diffstat (limited to 'src/plugins/http/http.h')
-rw-r--r--src/plugins/http/http.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/http/http.h b/src/plugins/http/http.h
index 35e7d4dcfb6..5f74edb5e47 100644
--- a/src/plugins/http/http.h
+++ b/src/plugins/http/http.h
@@ -358,7 +358,7 @@ typedef struct http_msg_data_
u32 headers_offset;
u32 headers_len;
u32 body_offset;
- u32 body_len;
+ u64 body_len;
u8 data[0];
} http_msg_data_t;
@@ -400,7 +400,7 @@ typedef struct http_tc_
u8 *rx_buf;
u32 rx_buf_offset;
http_buffer_t tx_buf;
- u32 to_recv;
+ u64 to_recv;
u32 bytes_dequeued;
u32 control_data_len; /* start line + headers + empty line */
http_target_form_t target_form;
@@ -411,7 +411,7 @@ typedef struct http_tc_
u32 headers_offset;
u32 headers_len;
u32 body_offset;
- u32 body_len;
+ u64 body_len;
u16 status_code;
} http_conn_t;