Skip to content

x/net/http2: h2spec violation 6.1.2 #26323

@fraenkel

Description

@fraenkel
$ ./h2spec -S -k -t -h 127.0.0.1 -p 8080 http2/6.1/2

Hypertext Transfer Protocol Version 2 (HTTP/2)
  6. Frame Definitions
    6.1. DATA
      × 2: Sends a DATA frame on the stream that is not in "open" or "half-closed (local)" state
        -> The endpoint MUST respond with a stream error of type STREAM_CLOSED.
           Expected: GOAWAY Frame (Error Code: STREAM_CLOSED)
                     RST_STREAM Frame (Error Code: STREAM_CLOSED)
                     Connection closed
             Actual: DATA Frame (length:42, flags:0x01, stream_id:1)

This test also does not always fail so I believe its an h2spec issue. It fails more often if you run the 6.1 series, i.e. ./h2spec -S -k -t -h 127.0.0.1 -p 8080 http2/6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions