Skip to content

Commit 8846788

Browse files
authored
[management,signal] Remove ws-proxy read deadline (#4598)
1 parent 954f409 commit 8846788

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

util/wsproxy/server/proxy.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ func (p *Proxy) pipeToWS(ctx context.Context, cancel context.CancelFunc, wg *syn
158158

159159
buf := make([]byte, bufferSize)
160160
for {
161-
if err := pipeConn.SetReadDeadline(time.Now().Add(ioTimeout)); err != nil {
162-
log.Debugf("Failed to set pipe read deadline: %v", err)
163-
}
164-
165161
n, err := pipeConn.Read(buf)
166162
if err != nil {
167163
if ctx.Err() != nil {

0 commit comments

Comments
 (0)