adjusts to 4k buf per mux

This commit is contained in:
xtaci
2019-12-18 16:42:24 +08:00
parent 5ad2b958a6
commit c8c084a087
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -29,7 +29,7 @@ const (
// maximum supported smux version
maxSmuxVer = 2
// stream copy buffer size
bufSize = 32768
bufSize = 4096
)
// VERSION is injected by buildflags