Skip to content

Limit max time for initial SETUP or RESUME frame to be received #1025

Closed

Description

@rstoyanchev

The spec says:

Immediately upon successful connection, the client MUST send either a SETUP or RESUME frame with Stream ID of 0. Any other frame received that is NOT a SETUP|RESUME frame or a SETUP|RESUME frame with a Stream ID > 0, MUST cause the server to send an ERROR[INVALID_SETUP] and close the connection.

The server should have a configurable limit that determines how long to wait for the SETUP or RESUME frame to materialize or close the connection otherwise. This timeout should probably have some default value that is enforced out of the box but can be customized.

Note: originally reported in the Spring Framework issue tracker, as spring-projects/spring-framework#27373, along with a repro project (see /dos_idle_connections and the server.sh script).

Activity

  1. added this to the 1.1.2 milestone on Mar 18, 2022
  2. removed this from the 1.1.2 milestone on Mar 18, 2022
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

    supersededIssue is superseded by another

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions