uhv: nghttp2 patch: add option to disable header validation #19751
Labels
area/http
enhancement
Feature requests. Not bugs or questions.
no stalebot
Disables stalebot from closing an issue
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 tonghttp_check_header_*()
when loading the header.The text was updated successfully, but these errors were encountered: