limiting number of HTTP request headers

Liu Dongmiao liudongmiao at gmail.com
Thu May 16 07:36:43 UTC 2024


Hi max,

If you use njs, then you can use `r.headersIn` or `r.rawHeadersIn`
https://nginx.org/en/docs/njs/reference.html#r_headers_in
https://nginx.org/en/docs/njs/reference.html#r_raw_headers_in

Regards,
Liu

Maksim Yevmenkin <maksim.yevmenkin at gmail.com> 于2024年5月16日周四 08:28写道:
>
> Hello!
>
> Could the community share their thoughts on introducing a directive to
> cap the number of HTTP request headers? While we currently have the
> ability to limit client HTTP request buffer size, having more specific
> control over the number of headers could be advantageous.
>
> Thanks,
> max
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx-devel


More information about the nginx-devel mailing list