]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Introduce an ap_get_useragent_host() accessor to replace the old
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 11 Feb 2016 21:58:45 +0000 (21:58 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 11 Feb 2016 21:58:45 +0000 (21:58 +0000)
commit1dd2be03ad7ec020f249e7b244a29a8b5e5e563a
tree206a49357b87948f0e47e91b0f309956d8ccaedd
parent4e46f910d0d2eb339d53fdc5e4a224dfe029075e
Introduce an ap_get_useragent_host() accessor to replace the old
ap_get_remote_host() in most applications, but preserve the original
behavior for all ap_get_remote_host() consumers (mostly, because we
don't have the request_rec in the first place, and also to avoid any
unintended consequences).

This accessor continues to store the remote_host of connection based
uesr agents within the conn_rec for optimization.  Only where some
other module modifies the useragent_addr will we perform a per-request
query of the remote_host.

(Committed previously, but backed out due to unrelated core.c changes)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729901 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/ap_mmn.h
include/http_core.h
include/httpd.h
server/core.c