mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-21 11:48:26 -07:00
ws: Up the read/write buffer size
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user