mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
fix several race condition, change slide window max size 2G to 32M, add buffer release
This commit is contained in:
@@ -49,5 +49,6 @@ const (
|
||||
MUX_PING_RETURN
|
||||
MUX_PING int32 = -1
|
||||
MAXIMUM_SEGMENT_SIZE = PoolSizeWindow
|
||||
MAXIMUM_WINDOW_SIZE = 1<<31 - 1
|
||||
MAXIMUM_WINDOW_SIZE = 1 << 25 // 1<<31-1 TCP slide window size is very large,
|
||||
// we use 32M, reduce memory usage
|
||||
)
|
||||
|
Reference in New Issue
Block a user