Bugzilla – Bug 2876
Do not shrink advWin when we already sent the FIN
Last modified: 2018-02-25 05:41:27 UTC
Created attachment 3043 [details] Fixing the bug The current code check is in AdvertisedWindowSize is based on IsFinished() from TcpRxBuffer. It assumes that if we get the FIN, then IsFinished() returns true. However, the method checks also for any pending data; in case we send a FIN, then we have a retx timeout, we advertise a shrinked window.
Created attachment 3044 [details] Fix the bug + regression test This patch contains also the regression test
Fixed in 13328:ed34bc65af73