We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ade99 commit abd7b13Copy full SHA for abd7b13
httpcore/_async/http11.py
@@ -293,6 +293,8 @@ def is_available(self) -> bool:
293
294
def has_expired(self) -> bool:
295
if self._server_disconnected:
296
+ # Connection that is disconnected by the server is considered expired.
297
+ # Pool then cleans up this connection by closing it.
298
return True
299
300
now = time.monotonic()
httpcore/_sync/http11.py
0 commit comments