New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/net/http2: h2spec violation 6.1.2 #26323

Open
fraenkel opened this Issue Jul 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@fraenkel
Contributor

fraenkel commented Jul 11, 2018

$ ./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

@fraenkel

This comment has been minimized.

Contributor

fraenkel commented Jul 11, 2018

Similar issue to all the others. There is a race between the response of the first and second request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment