dgaudet 98/03/26 13:08:38
Modified: src CHANGES
src/main http_core.c
Log:
really make the hostnamelookups default off
Revision Changes Path
1.735 +3 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.734
retrieving revision 1.735
diff -u -r1.734 -r1.735
--- CHANGES 1998/03/26 19:26:23 1.734
+++ CHANGES 1998/03/26 21:08:35 1.735
@@ -1,5 +1,8 @@
Changes with Apache 1.3b6
+ *) The default for HostnameLookups was changed to Off, but there
+ was a problem and it wasn't taking effect. [Dean Gaudet]
+
*) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
[Dean Gaudet]
1.176 +3 -0 apache-1.3/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -r1.175 -r1.176
--- http_core.c 1998/03/17 19:38:42 1.175
+++ http_core.c 1998/03/26 21:08:37 1.176
@@ -503,6 +503,9 @@
hostname_lookups =
((core_dir_config *)get_module_config(dir_config, &core_module))
->hostname_lookups;
+ if (hostname_lookups == HOSTNAME_LOOKUP_UNSET) {
+ hostname_lookups = HOSTNAME_LOOKUP_OFF;
+ }
} else {
/* the default */
hostname_lookups = HOSTNAME_LOOKUP_OFF;