diff --git a/probe/appclient/app_client.go b/probe/appclient/app_client.go index 04bbe7e4b..4b01220b8 100644 --- a/probe/appclient/app_client.go +++ b/probe/appclient/app_client.go @@ -374,6 +374,9 @@ func (c *appClient) pipeConnection(id string, pipe xfer.Pipe) (bool, error) { _, remote := pipe.Ends() done, err := pipe.CopyToWebsocket(remote, conn) + if err == io.EOF { + return true, nil + } return done, err }