Skip to content

Commit 15eef3d

Browse files
authored
fix more accidental bugs
i am too sleepy
1 parent 0824331 commit 15eef3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

httpcore/_sync/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _connect(self, request: Request) -> NetworkStream:
146146
try:
147147
stream = stream.start_tls(**kwargs)
148148
except Exception:
149-
stream.aclose()
149+
stream.close()
150150
raise
151151
trace.return_value = stream
152152
return stream

0 commit comments

Comments
 (0)