feat(container-console): increase hijacked tcp connection reader size (#2259)

pull/2263/head
Anthony Lapenna 6 years ago committed by GitHub
parent 7ba19ee1f9
commit 42f5aec6a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -252,7 +252,7 @@ func streamFromWebsocketConnToTCPConn(websocketConn *websocket.Conn, tcpConn net
func streamFromTCPConnToWebsocketConn(websocketConn *websocket.Conn, br *bufio.Reader, errorChan chan error) {
for {
out := make([]byte, 1024)
out := make([]byte, 2048)
_, err := br.Read(out)
if err != nil {
errorChan <- err

Loading…
Cancel
Save