[management,signal] Remove ws-proxy read deadline (#4598)

This commit is contained in:
Viktor Liu
2025-10-06 22:05:48 +02:00
committed by GitHub
parent 954f40991f
commit 88467883fc

View File

@@ -158,10 +158,6 @@ func (p *Proxy) pipeToWS(ctx context.Context, cancel context.CancelFunc, wg *syn
buf := make([]byte, bufferSize)
for {
if err := pipeConn.SetReadDeadline(time.Now().Add(ioTimeout)); err != nil {
log.Debugf("Failed to set pipe read deadline: %v", err)
}
n, err := pipeConn.Read(buf)
if err != nil {
if ctx.Err() != nil {