Skip to content

fix(h1): only 100 and 103 are handled as interim responses on an H1 frontend #1733

Closed

Description

@FlorentinDUBOIS

On an HTTP/1.1 frontend, ConnectionH1::writable (lib/src/protocol/mux/h1.rs) treats only 100 and 103 from an HTTP/1.1 backend as interim. Any other 1xx (102, or an unassigned 104-199) takes the final-response path once written: the access log is emitted, the stream is unlinked and the backend connection is returned to the keep-alive pool while the final response is still due. The client then never receives that final response.

RFC 9110 §15.2: every 1xx is interim, and a client must be able to parse one or more 1xx responses before the final one. 101 is the protocol switch and is out of scope.

Expected: any 1xx other than 101 is forwarded as interim, the stream stays linked to its backend, and the final response follows on the same connection.

Activity

  1. added a commit that references this issue on Oct 1, 2026
    48f5435
  2. added a commit that references this issue on Oct 2, 2026
    a842820
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions