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:
8b04b0a
)
http: confirm postponed connection close
08/42308/2
author
Matus Fabian
<
[email protected]
>
Tue, 4 Feb 2025 13:41:55 +0000
(08:41 -0500)
committer
Florin Coras
<
[email protected]
>
Wed, 5 Feb 2025 23:30:41 +0000
(23:30 +0000)
Type: fix
Change-Id: I43a221ac2be9bbea885116c12d1991cf4477fae8
Signed-off-by: Matus Fabian <
[email protected]
>
src/plugins/http/http.c
patch
|
blob
|
history
diff --git
a/src/plugins/http/http.c
b/src/plugins/http/http.c
index
faead70
..
04a4ad3
100644
(file)
--- a/
src/plugins/http/http.c
+++ b/
src/plugins/http/http.c
@@
-2613,7
+2613,10
@@
http_app_tx_callback (void *session, transport_send_params_t *sp)
if (hc->state == HTTP_CONN_STATE_APP_CLOSED)
{
if (!svm_fifo_max_dequeue_cons (as->tx_fifo))
- http_disconnect_transport (hc);
+ {
+ session_transport_closed_notify (&hc->connection);
+ http_disconnect_transport (hc);
+ }
}
sent = max_burst_sz - sp->max_burst_size;