From a9d5bea69fafbcc2f24d71439433c9b710db665f Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 17 Dec 2018 08:24:19 -0800 Subject: tcp/session: drop connections if message queue is full Also cleanup session table when transport closes and app didn't reply to the close notification. Change-Id: Ie3d518e3afff73437561561b46dbf695c24632ad Signed-off-by: Florin Coras --- src/vnet/tcp/tcp_error.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/tcp/tcp_error.def') diff --git a/src/vnet/tcp/tcp_error.def b/src/vnet/tcp/tcp_error.def index 44bf0c04168..141ca515995 100644 --- a/src/vnet/tcp/tcp_error.def +++ b/src/vnet/tcp/tcp_error.def @@ -25,7 +25,7 @@ tcp_error (SEGMENT_OLD, "Old segment") tcp_error (SEGMENT_INVALID, "Invalid segments") tcp_error (SYNS_RCVD, "SYNs received") tcp_error (SYN_ACKS_RCVD, "SYN-ACKs received") -tcp_error (EVENT_FIFO_FULL, "Events not sent for lack of event fifo space") +tcp_error (MSG_QUEUE_FULL, "Events not sent for lack of msg queue space") tcp_error (CREATE_SESSION_FAIL, "Sessions couldn't be allocated") tcp_error (ACK_OK, "Pure ACKs received") tcp_error (ACK_INVALID, "Invalid ACK") -- cgit 1.2.3-korg