You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Robinson <dr...@ast.cam.ac.uk> on 1996/02/21 14:18:00 UTC
111.host.patch
Subject: Only lookup DNS name for client at the time it is needed, and allow
the HostNameLookups directive in Directory sections.
Affects: Makefile.tmpl, alloc.h, alloc.c, http_config.c, http_core.h,
http_core.c, http_log.c, http_main.c, httpd.h, mod_access.c,
mod_cookies.c, mod_log_common.c, mod_log_config.c, util.c,
util_script.c
ChangeLog: Make hostname_lookups a per-directory core configuration variable.
Replace all accesses to the connection.remote_host and remote_name
variables to calls to get_remote_host(), which is now in
http_core.c. Also fix prototype of table_set() and in_domain().
Comments: Allows more control over DNS access; improves server response time.
Decouples hostname lookup from finding the virtual host for a
request. This patch should be applied after 110.buff.patch
I'll do the same for the rfc931 check, and rewrite rfc931.c at the
same time.
David.