The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
9.51k
stars
937
forks
source link
ASGI HTTP protocol 2.4: `send()` may raise `OSError` #2323
Open
vytas7 opened 3 weeks ago
In the ASGI HTTP & WebSocket protocol version
2.4
, callingsend()
on a closed connection should raise anOSError
....but I haven't really been able to reproduce this in real servers (Uvicorn, Hypercorn).
Also, considering how the flow usually looks like, this is more important for WebSockets, which will be addressed separately in #2292.