Commit 78ec8485 authored by Committed by Olivier Crête
pseudotcp: Shorten the TIME-WAIT state timeout dramatically
The TIME-WAIT timeout is typically 2×MSL (on the order of 60 seconds), which is needed to be able to reject delayed segments from closed conversations. However, the underlying socket layer for pseudo-TCP takes care of channel numbering so that segments don’t end up being sent to closed conversations. Therefore, the TIME-WAIT state can be eliminated (by shortening the timeout). The code for the state is kept around so that the pseudo-TCP implementation matches the TCP specification correctly, which will simplify maintenance.
Showing with 8 additions and 3 deletions