Reviewed by: Mark J Cox, Chuck Murcko, Jim Jagielski
Submitted by: Dean Gaudet
This patch adds another type to get_remote_name -- REMOTE_NOLOOKUP.
This skips the lookup and returns the name/ip that is known already.
This is then used in update_child_status so that no DNS lookups are
forced for the status page.
On its own, this patch really doesn't do anything :) So why am I
submitting it? It allows the creative hacker to set up their server
to do reverse dns on some hits but not others.
I imagine something like this would do the trick in 1.2:
HostnameLookups On
<Files \.(gif|jpeg)$>
HostnameLookups Off
</Files>
Dean
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76904 13f79535-47bb-0310-9956-ffa450edef68
Loading
Please sign in to comment