tun2: lol nope
This commit is contained in:
parent
63e342bba1
commit
3fefd31625
|
@ -125,10 +125,7 @@ func (c *Connection) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, ErrCantOpenSessionStream.Error())
|
return nil, errors.Wrap(err, ErrCantOpenSessionStream.Error())
|
||||||
}
|
}
|
||||||
defer func() {
|
defer stream.Close()
|
||||||
time.Sleep(5 * time.Minute)
|
|
||||||
stream.Close()
|
|
||||||
}()
|
|
||||||
|
|
||||||
err = req.Write(stream)
|
err = req.Write(stream)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue