session: disable fifo tuning on app close

Type: fix

Change-Id: Id6aa410a75356ece1d114a2970f70cf32203997f
Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:
Florin Coras 2024-12-09 19:45:54 -05:00 committed by Dave Wallace
parent 0f97947f36
commit 504a7d1c93

View File

@ -1577,6 +1577,9 @@ session_close (session_t * s)
* transport initiated closes, use a flag. */
s->flags |= SESSION_F_APP_CLOSED;
/* Disable fifo tuning when app closes */
s->flags &= ~SESSION_F_CUSTOM_FIFO_TUNING;
if (s->session_state >= SESSION_STATE_CLOSING)
{
/* Session will only be removed once both app and transport