We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ClientDisconnect
OSError
IOError
1 parent 875f6c6 commit 9279825Copy full SHA for 9279825
uvicorn/protocols/utils.py
@@ -6,7 +6,7 @@
6
from uvicorn._types import WWWScope
7
8
9
-class ClientDisconnected(IOError): ...
+class ClientDisconnected(OSError): ...
10
11
12
def get_remote_addr(transport: asyncio.Transport) -> tuple[str, int] | None:
0 commit comments