Revert "tun2: close http streams after 30 minutes"
This reverts commit 30f7f4636e
.
This commit is contained in:
parent
302479389f
commit
8e94968e17
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue