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:
bf0146b
)
http_static: hss_ts_rx_callback fix
54/42454/1
author
Matus Fabian
<matfabia@cisco.com>
Wed, 5 Mar 2025 14:06:59 +0000
(09:06 -0500)
committer
Matus Fabian
<matfabia@cisco.com>
Wed, 5 Mar 2025 14:06:59 +0000
(09:06 -0500)
reset hs->data_len before handling new request
Type: fix
Change-Id: I5b02f8ec418c56e8ec607c5bc5c8716d53e5376f
Signed-off-by: Matus Fabian <matfabia@cisco.com>
src/plugins/http_static/static_server.c
patch
|
blob
|
history
diff --git
a/src/plugins/http_static/static_server.c
b/src/plugins/http_static/static_server.c
index
fb0878c
..
9d416da
100644
(file)
--- a/
src/plugins/http_static/static_server.c
+++ b/
src/plugins/http_static/static_server.c
@@
-510,6
+510,7
@@
hss_ts_rx_callback (session_t *ts)
if (hs->free_data)
vec_free (hs->data);
hs->data = 0;
+ hs->data_len = 0;
http_init_headers_ctx (&hs->resp_headers, hs->headers_buf,
vec_len (hs->headers_buf));