mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 06:19:41 +02:00
feat(container-console): increase hijacked tcp connection reader size (#2259)
This commit is contained in:
parent
7ba19ee1f9
commit
42f5aec6a5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue