Skip to content

Commit

Permalink
adjusts to 4k buf per mux
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Dec 18, 2019
1 parent 5ad2b95 commit c8c084a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// maximum supported smux version
maxSmuxVer = 2
// stream copy buffer size
bufSize = 32768
bufSize = 4096
)

// VERSION is injected by buildflags
Expand Down
2 changes: 1 addition & 1 deletion server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
// maximum supported smux version
maxSmuxVer = 2
// stream copy buffer size
bufSize = 32768
bufSize = 4096
)

// VERSION is injected by buildflags
Expand Down

0 comments on commit c8c084a

Please sign in to comment.