From 9bcf9cb8523c1b9aee95b2a3094f30583b23718b Mon Sep 17 00:00:00 2001 From: xtaci Date: Fri, 28 Sep 2018 20:19:29 +0800 Subject: [PATCH] adjust default frame size --- mux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mux.go b/mux.go index afcf58b..afb2f1c 100644 --- a/mux.go +++ b/mux.go @@ -31,7 +31,7 @@ func DefaultConfig() *Config { return &Config{ KeepAliveInterval: 10 * time.Second, KeepAliveTimeout: 30 * time.Second, - MaxFrameSize: 4096, + MaxFrameSize: 65535, MaxReceiveBuffer: 4194304, } }