Fix reset outbounds
This commit is contained in:
@@ -109,8 +109,6 @@ func (c *Client) DialContext(ctx context.Context) (net.Conn, error) {
|
||||
}
|
||||
|
||||
func (c *Client) Close() error {
|
||||
if c.transport != nil {
|
||||
v2rayhttp.CloseIdleConnections(c.transport)
|
||||
}
|
||||
v2rayhttp.ResetTransport(c.transport)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user