From 78cc4b0797a983d5d31b9127fea9c2b72ed081d7 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 20 Dec 2018 18:24:49 -0800 Subject: tcp: fix fin_wait_1 condition to send fin Also add the closed-waiting session state wherein the session still allows the transport to send oustanding data. Change-Id: Ic47807379906ef2010934381ff0b9e53c7e631d8 Signed-off-by: Florin Coras --- src/vnet/session/stream_session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/session/stream_session.h') diff --git a/src/vnet/session/stream_session.h b/src/vnet/session/stream_session.h index c335c5b833e..79a6839ad21 100644 --- a/src/vnet/session/stream_session.h +++ b/src/vnet/session/stream_session.h @@ -33,6 +33,7 @@ typedef enum SESSION_STATE_OPENED, SESSION_STATE_TRANSPORT_CLOSING, SESSION_STATE_CLOSING, + SESSION_STATE_CLOSED_WAITING, SESSION_STATE_CLOSED, SESSION_STATE_N_STATES, } stream_session_state_t; -- cgit 1.2.3-korg