You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seanmonstar opened this issue
Jun 6, 2018
· 1 comment
Labels
A-http2Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.
Connection-specific headers are forbidden in HTTP2, as that information has been moved into frame types of the h2 protocol. hyper should strip those headers before sending a request or response over HTTP2.
Steps to fix
Update proto::h2::strip_connection_headers to inspect the value of the CONNECTION header, and remove all headers it references. See this code for how.
Also remove other headers that h2 has determined are "connection" headers, such as those in this code.
The text was updated successfully, but these errors were encountered:
seanmonstar
added
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
C-feature
Category: feature. This is adding a new feature.
A-http2
Area: HTTP/2 specific.
labels
Jun 6, 2018
Automatically removes "connection" headers before sending over HTTP2.
These headers are illegal in HTTP2, and would otherwise cause errors.
Closes: #1551
A-http2Area: HTTP/2 specific.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.
Connection-specific headers are forbidden in HTTP2, as that information has been moved into frame types of the h2 protocol. hyper should strip those headers before sending a request or response over HTTP2.
Steps to fix
proto::h2::strip_connection_headers
to inspect the value of theCONNECTION
header, and remove all headers it references. See this code for how.The text was updated successfully, but these errors were encountered: