Netty uses a denylist containing common connection-related headers that
should be removed from h2 messages.
Netty uses a denylist containing common connection-related headers that
should be removed from h2 messages. However, a few cases need to be handled
separately:
1) All headers mentioned in the "connection" header must be stripped
2) The "TE" header can exist iff its value is "trailers"
See https://tools.ietf.org/html/rfc7540#section-8.1.2.2
3) The "http2-settings" headers is left on the server side, but we probably
don't need it anymore.
Netty uses a denylist containing common connection-related headers that should be removed from h2 messages. However, a few cases need to be handled separately: 1) All headers mentioned in the "connection" header must be stripped 2) The "TE" header can exist iff its value is "trailers" See https://tools.ietf.org/html/rfc7540#section-8.1.2.2 3) The "http2-settings" headers is left on the server side, but we probably don't need it anymore.