mirror of
https://github.com/yudai/gotty.git
synced 2026-01-06 17:48:50 +01:00
increase buffer size
This commit is contained in:
parent
7fb8f2c709
commit
40912fd6f7
2 changed files with 3 additions and 3 deletions
|
|
@ -73,8 +73,8 @@ func New(factory Factory, options *Options) (*Server, error) {
|
|||
options: options,
|
||||
|
||||
upgrader: &websocket.Upgrader{
|
||||
ReadBufferSize: 1024,
|
||||
WriteBufferSize: 1024,
|
||||
ReadBufferSize: 4096,
|
||||
WriteBufferSize: 4096,
|
||||
Subprotocols: webtty.Protocols,
|
||||
CheckOrigin: originChekcer,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue