mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
ws: Up the read/write buffer size
This commit is contained in:
parent
9f6c4363b7
commit
542503f63e
@ -12,8 +12,8 @@ import (
|
||||
)
|
||||
|
||||
var upgrader = websocket.Upgrader{
|
||||
ReadBufferSize: 1024,
|
||||
WriteBufferSize: 1024,
|
||||
ReadBufferSize: 2048,
|
||||
WriteBufferSize: 2048,
|
||||
// If a WS session contains sensitive information, and you choose to use
|
||||
// cookies for authentication (during the HTTP(S) upgrade request), then
|
||||
// you should check that Origin is a domain under your control. If it
|
||||
|
Loading…
Reference in New Issue
Block a user