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:
8ddcd48
)
http: confirm postponed connection close
23/42323/2
author
Matus Fabian
<
[email protected]
>
Tue, 4 Feb 2025 13:41:55 +0000
(08:41 -0500)
committer
Dave Wallace
<
[email protected]
>
Thu, 6 Feb 2025 17:28:01 +0000
(17:28 +0000)
Type: fix
Change-Id: I43a221ac2be9bbea885116c12d1991cf4477fae8
Signed-off-by: Matus Fabian <
[email protected]
>
(cherry picked from commit
94f6034af5894ecf23fa58d59fa90664056d1cf0
)
src/plugins/http/http.c
patch
|
blob
|
history
diff --git
a/src/plugins/http/http.c
b/src/plugins/http/http.c
index
c7e61c3
..
bfdaf70
100644
(file)
--- a/
src/plugins/http/http.c
+++ b/
src/plugins/http/http.c
@@
-2575,7
+2575,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;