PAGI 0.002006 Clarifies How Pending Send Futures Behave on Disconnection
The PAGI async Perl framework released version 0.002006 in August 2026, resolving a longstanding ambiguity in its specification around what happens to an in-flight send when a client disconnects. The update establishes that a send Future still pending at the moment of disconnection will resolve silently rather than raise an error or remain hanging indefinitely. This approach aligns with precedents set by .NET's Kestrel, which discards writes after disconnection, rather than ASGI's error-raising model, which caused breakage in real-world FastAPI deployments. Validation failures, such as malformed event shapes or unreadable files, continue to fail the Future as before, keeping error semantics consistent and predictable. Servers implementing the new rules advertise compliance via an updated scope version field, and the accompanying PAGI::Server has been bumped to 0.002011.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in