diff --git a/internal/tun2/connection.go b/internal/tun2/connection.go index 40f7c4d..b68cfe4 100644 --- a/internal/tun2/connection.go +++ b/internal/tun2/connection.go @@ -127,12 +127,6 @@ func (c *Connection) RoundTrip(req *http.Request) (*http.Response, error) { return nil, errors.Wrap(err, ErrCantOpenSessionStream.Error()) } - go func() { - time.Sleep(30 * time.Minute) - - stream.Close() - }() - err = req.Write(stream) if err != nil { return nil, errors.Wrap(err, ErrCantWriteRequest.Error())