From 542503f63e7d530ab909e6e174adce3c193a80e4 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Mon, 6 Mar 2017 09:26:54 +1000 Subject: [PATCH] ws: Up the read/write buffer size --- irc/websocket.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/websocket.go b/irc/websocket.go index 4a8948d3..2ccdc56a 100644 --- a/irc/websocket.go +++ b/irc/websocket.go @@ -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