mirror of
https://github.com/xtaci/kcptun.git
synced 2024-04-21 12:32:32 +00:00
adjusts to 4k buf per mux
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ const (
|
||||
// maximum supported smux version
|
||||
maxSmuxVer = 2
|
||||
// stream copy buffer size
|
||||
bufSize = 32768
|
||||
bufSize = 4096
|
||||
)
|
||||
|
||||
// VERSION is injected by buildflags
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ const (
|
||||
// maximum supported smux version
|
||||
maxSmuxVer = 2
|
||||
// stream copy buffer size
|
||||
bufSize = 32768
|
||||
bufSize = 4096
|
||||
)
|
||||
|
||||
// VERSION is injected by buildflags
|
||||
|
||||
Reference in New Issue
Block a user