Skip to content

uhv: nghttp2 patch: add option to disable header validation #19751

@ameily

Description

@ameily

As part of the unified header validation component, nghttp2 will need to be modified at build time to include a new option that disables header validation on a per-request basis. This issue is similar to #19750, which is targeting HTTP 1 parsing. The intent is that nghttp2 will be configured to disable header validation when the UHV is being used.

The result will be a patch that is applied during the build. We could also potentially share the patch upstream if desired.

There is an existing option within nghttp2 to disable all http messaging mechanisms (nghttp2_option_set_no_http_messaging). However, that appears to be too heavy-handed and would affect larger portions of the h2 codec. The patch would most likely skip calls to nghttp_check_header_*() when loading the header.

Metadata

Metadata

Assignees

Labels

area/httpenhancementFeature requests. Not bugs or questions.no stalebotDisables stalebot from closing an issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions