1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Files
apache/changes-entries/h2-header-limits.txt
Joe Orton 6340a316eb mod_http2: log request header limit violations only once per stream.
* modules/http2/h2_stream.c (h2_stream_add_header): Guard the AH10178,
  AH10180 and AH10181 log messages on stream->request_headers_failed
  rather than h2_stream_is_ready().
  (h2_stream_end_headers): Likewise for AH10230.

Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>

* test/modules/http2/test_111_header_limit_log.py: New test, checking
  that AH10181 is logged exactly once for a request with many headers
  over LimitRequestFields.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GitHub: closes #765, closes #666


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938328 13f79535-47bb-0310-9956-ffa450edef68
2026-09-17 19:12:18 +00:00

3 lines
117 B
Plaintext

*) mod_http2: Fix duplicate logging of header limit violations.
[Michael Kaufmann <mail michael-kaufmann.ch>]