]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_http2: fix logic for non-proxy Server and Date response headers.
authorYann Ylavic <ylavic@apache.org>
Thu, 25 Nov 2021 15:57:21 +0000 (15:57 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 25 Nov 2021 15:57:21 +0000 (15:57 +0000)
commit772952aca2b66976299874f14c21b90508ed2b02
tree85fa132fd375bba9f8a0325d7b95aa2659139d21
parent5338e45798e2be5296b57c5b31c0de763f2d8962
mod_http2: fix logic for non-proxy Server and Date response headers.

First error was in r1890564 where the test for !PROXYREQ_NONE was replaced by
PROXYREQ_RESPONSE (which is never the case besides the fake proxy origin
request) so a mod_h2 PR tried to fix that but the logic is now incorrect.

Let's finally use the same logic as ap_basic_http_header().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895336 13f79535-47bb-0310-9956-ffa450edef68
modules/http2/h2_c2_filter.c