From cee4bc46097506d6e892b6af194751434700621a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 16 Jun 2021 12:56:02 +0300 Subject: - Update jobs sources - Update Arch diagramm Signed-off-by: Valery Piashchynski --- plugins/websockets/plugin.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/websockets/plugin.go') diff --git a/plugins/websockets/plugin.go b/plugins/websockets/plugin.go index 6dfe6ca3..a1002bdd 100644 --- a/plugins/websockets/plugin.go +++ b/plugins/websockets/plugin.go @@ -82,6 +82,13 @@ func (p *Plugin) Init(cfg config.Configurer, log logger.Logger, server server.Se HandshakeTimeout: time.Second * 60, ReadBufferSize: 1024, WriteBufferSize: 1024, + WriteBufferPool: nil, + Subprotocols: nil, + Error: nil, + CheckOrigin: func(r *http.Request) bool { + return true + }, + EnableCompression: false, } p.serveExit = make(chan struct{}) p.server = server -- cgit v1.2.3