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:
2926d0a
)
http: leave space for msg header on transport method
89/42589/3
author
Florin Coras
<
[email protected]
>
Fri, 28 Mar 2025 18:05:10 +0000
(14:05 -0400)
committer
Dave Barach
<
[email protected]
>
Fri, 28 Mar 2025 20:36:16 +0000
(20:36 +0000)
Type: fix
Change-Id: I4bcc9c6168c18ccf5701b832c26b16d3bb24bc98
Signed-off-by: Florin Coras <
[email protected]
>
src/plugins/http/http1.c
patch
|
blob
|
history
diff --git
a/src/plugins/http/http1.c
b/src/plugins/http/http1.c
index
258330e
..
265f6e7
100644
(file)
--- a/
src/plugins/http/http1.c
+++ b/
src/plugins/http/http1.c
@@
-998,6
+998,7
@@
http1_req_state_wait_transport_method (http_conn_t *hc, http_req_t *req,
/* send at least "control data" which is necessary minimum,
* if there is some space send also portion of body */
max_enq = http_io_as_max_write (req);
+ max_enq -= sizeof (msg);
if (max_enq < req->control_data_len)
{
clib_warning ("not enough room for control data in app's rx fifo");