[PATCH] HTTP/2: reject HTTP/2 requests without ":scheme" pseudo-header

Piotr Sikora piotrsikora at google.com
Tue Mar 28 10:40:44 UTC 2017


Hey Valentin,

> This part of patch can be added to the style one:
>
>   "HTTP/2: style and typos."

Assuming that this patch gets dropped or even if it gets committed?

> Is there any practical reason to force this restriction?

None, other than following RFC and providing early detection of broken clients.

Also, it looks that you have a test for it marked as TODO:
http://hg.nginx.org/nginx-tests/annotate/a6abbfed42c0/h2_headers.t#l972

Best regards,
Piotr Sikora


More information about the nginx-devel mailing list