diff --git a/client/main.go b/client/main.go index 9bae33a..3c787ff 100644 --- a/client/main.go +++ b/client/main.go @@ -26,7 +26,7 @@ const ( // maximum supported smux version maxSmuxVer = 2 // stream copy buffer size - bufSize = 32768 + bufSize = 4096 ) // VERSION is injected by buildflags diff --git a/server/main.go b/server/main.go index 3feba5f..5da2399 100644 --- a/server/main.go +++ b/server/main.go @@ -29,7 +29,7 @@ const ( // maximum supported smux version maxSmuxVer = 2 // stream copy buffer size - bufSize = 32768 + bufSize = 4096 ) // VERSION is injected by buildflags