Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions httpcore/_async/connection.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -126,3 +126,7 @@ async def start_tls(self, hostname: bytes, timeout: TimeoutDict = None) -> None:
await self.connection.start_tls(hostname, timeout)
logger.trace("start_tls complete hostname=%r timeout=%r", hostname, timeout)
self.socket = self.connection.socket

async def aclose(self) -> None:
if self.socket:
await self.socket.aclose()