oops, properly choke the congestion detection for resend

This commit is contained in:
jrandom
2004-11-09 13:33:11 +00:00
committed by zzz
parent 73a12d47de
commit f6ff74af16

View File

@ -584,7 +584,7 @@ public class Connection {
// shrink the window // shrink the window
int newWindowSize = getOptions().getWindowSize(); int newWindowSize = getOptions().getWindowSize();
_lastCongestionSeenAt = newWindowSize; congestionOccurred();
newWindowSize /= 2; newWindowSize /= 2;
if (newWindowSize <= 0) if (newWindowSize <= 0)
newWindowSize = 1; newWindowSize = 1;