mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-02 01:37:04 +08:00
change window calculation
This commit is contained in:
1 parent
a0a2cd1d47
commit
f5fce6d1f4
5 files changed
+21
-90
No files matched your search
+2
-2
@@ -49,6 +49,6 @@ const (
|
||||
MUX_PING_RETURN
|
||||
MUX_PING int32 = -1
|
||||
MAXIMUM_SEGMENT_SIZE = PoolSizeWindow
|
||||
MAXIMUM_WINDOW_SIZE = 1 << 25 // 1<<31-1 TCP slide window size is very large,
|
||||
// we use 32M, reduce memory usage
|
||||
MAXIMUM_WINDOW_SIZE = 1 << 27 // 1<<31-1 TCP slide window size is very large,
|
||||
// we use 128M, reduce memory usage
|
||||
)
|
||||
Reference in new issue
Block a user