upd framesize to 32768 to fix crash to the overflow of uint16

This commit is contained in:
xtaci
2018-10-01 10:54:41 +08:00
parent 9bcf9cb852
commit 23098c5322
+1 -1
View File
@@ -31,7 +31,7 @@ func DefaultConfig() *Config {
return &Config{
KeepAliveInterval: 10 * time.Second,
KeepAliveTimeout: 30 * time.Second,
MaxFrameSize: 65535,
MaxFrameSize: 32768,
MaxReceiveBuffer: 4194304,
}
}