Skip to content

transform a HTTP 1.0 response from a backend to a HTTP 1.1 response to the client #16

Closed

Description

@Geal

In gitlab by @Geal on Jan 7, 2016, 16:39

Activity

  1. added this to the needed for the release milestone on Jan 18, 2017
  2. modified the milestones: , needed for the release on Feb 22, 2017
  3. BlackYoup commented on Apr 20, 2017

    @BlackYoup
    Collaborator

    What would be the requirements here ? I guess only changing the HTTP version in the response is not enough ?

  4. Geal commented on Apr 20, 2017

    @Geal
    MemberAuthor

    there are a few changes in the behaviour, like keep alive: in HTTP 1.0 you must specify Connection: keep-alive, while HTTP 1.1 is keep-alive by default, and you must specify Connection: close if you don't want that behaviour.

    More generally, We should think about how to separate protocol implementations between frontend and backend, since we might need that for HTTP/2.

  5. removed this from the milestone on Feb 18, 2022
  6. added this to the v0.17.0 milestone on Feb 18, 2022
  7. FlorentinDUBOIS commented on Jun 5, 2026

    @FlorentinDUBOIS
    Collaborator

    Narrowing this 2016 issue to what actually remains.

    Done since:

    • Frontend/backend protocol implementations are fully separated (the H2 multiplexer converts between front and back protocols — an H2 client can be served from an HTTP/1.x backend).
    • Keep-alive semantics are normalized per side: lib/src/protocol/kawa_h1/editor.rs tracks keep_alive_frontend/keep_alive_backend independently and manages Connection headers accordingly.

    Still open (the literal ask):

    • A backend HTTP/1.0 status line is forwarded to the client verbatim — kawa preserves the version on re-serialization (Version::V10 → "HTTP/1.0", kawa src/protocol/h1/converter.rs). nginx-style behavior would have the proxy always answer with its own protocol version.

    Scope of this issue is now exactly that: normalize the response version (and the implied version-specific semantics) on the frontend side.

  8. added 2 commits that reference this issue on Sep 29, 2026
    190feef
    1e3da20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions