Description
Malformed requests must be treated as a stream error, but currently it's treated as a connection error.
Malformed requests or responses that are detected MUST be treated as a stream error (Section 5.4.2) of type PROTOCOL_ERROR.
https://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-8.1.2.6
I found this behavior with these requests:
- Uppercase header field names
- Empty :path header