Closed obrown closed 7 years ago
Ensures that the underlying socket exists before calling close on it. This allows us to exit a context safely if connect() hasn't been called
It also matches the behaviour in HTTP20Connection.
Ensures that the underlying socket exists before calling close on it. This allows us to exit a context safely if connect() hasn't been called
It also matches the behaviour in HTTP20Connection.