session: disable fifo tuning on app close 82/41982/4
authorFlorin Coras <[email protected]>
Tue, 10 Dec 2024 00:45:54 +0000 (19:45 -0500)
committerDave Wallace <[email protected]>
Thu, 12 Dec 2024 02:34:32 +0000 (02:34 +0000)
Type: fix

Change-Id: Id6aa410a75356ece1d114a2970f70cf32203997f
Signed-off-by: Florin Coras <[email protected]>
src/vnet/session/session.c

index 8a9fc4b..be2c5dc 100644 (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