Skip to content

Commit 3efc88b

Browse files
committed
netstack: incr tcp max inflight to 512
1 parent 00837c8 commit 3efc88b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

intra/netstack/tcp.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ import (
2222

2323
// ref: github.com/tailscale/tailscale/blob/cfb5bd0559/wgengine/netstack/netstack.go#L236-L237
2424
const rcvwnd = 0
25-
const maxInFlight = 128
25+
26+
const maxInFlight = 512 // arbitrary
2627

2728
type GTCPConnHandler interface {
2829
// Proxy copies data between src and dst.

0 commit comments

Comments
 (0)