-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.
Description
- Version: v10.11.0
- Platform: Linux archlinux 4.18.14-1-ck-skylake deps: update openssl to 1.0.1j #1 SMP PREEMPT Sat Oct 13 16:38:26 EDT 2018 x86_64 GNU/Linux
- Subsystem: http2
Original Issue: hapijs/hapi#3830
What you expect:
No error should be thrown. The connection header should be ignored by the http2 module.
What actually happens:
An error is thrown.
Description:
ERR_HTTP2_INVALID_CONNECTION_HEADERS error seems to break the http2 compatibility API. By adding a connection header to an http2 response, the ERR_HTTP2_INVALID_CONNECTION_HEADERS error is thrown. Seeing as http2 is supposed to be backwards compatible with http1, shouldn't http2 just ignore the connection header?
Also, Connection and Keep-Alive are ignored in HTTP/2; connection management is handled by other mechanisms there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
http2Issues or PRs related to the http2 subsystem.Issues or PRs related to the http2 subsystem.