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