File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121const (
2222 DefaultN = 20
2323 defaultHandshakeTimeout = 100 * time .Millisecond
24- defaultResendTimeout = 100 * time .Millisecond
24+ defaultResendTimeout = 2000 * time .Millisecond
2525 finSendTimeout = 1000 * time .Millisecond
2626 defaultResendMultiplier = 5
2727 DefaultSendTimeout = math .MaxInt64
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const (
4343
4444 // gbnTimeout is the timeout that we want the gbn connection to wait
4545 // to receive ACKS from the peer before resending the queue.
46- gbnTimeout = 1000 * time .Millisecond
46+ gbnTimeout = 2000 * time .Millisecond
4747
4848 // gbnN is the queue size, N, that the gbn server will use. The gbn
4949 // server will send up to N packets before requiring an ACK for the
You can’t perform that action at this time.
0 commit comments