Skip to content

cellucid 0.9.2

Latest

Choose a tag to compare

@inecik inecik released this 17 Oct 13:35

Version 0.9.2 is a patch release on 0.9.1.

Fixed

  • A refused upload or event now reaches the client as the status the server sent.
    Every early refusal of a POST -- an expired or unknown session-bundle request, bad
    viewer credentials, a wrong Content-Type, an oversized body, an unknown path, a
    foreign Host -- was answered before the request body was read, and the socket
    was then closed with that body unread. A socket closed with unread input is reset
    rather than shut down, so a client still sending or not yet reading lost the
    response: Windows reported WinError 10053, macOS and Linux a reset or a broken
    pipe. The server now drains a refused request's declared body, within the
    largest accepted upload and for at most five seconds, before it closes. Both
    servers share one do_POST that does this.