svn commit: [25724] trunk/busybox/networking

vda at busybox.net vda at busybox.net
Wed Mar 18 20:00:47 UTC 2009


Author: vda
Date: 2009-03-18 20:00:46 +0000 (Wed, 18 Mar 2009)
New Revision: 25724

Log:
httpd: add comment explaining why SERVER_NAME etc is not set.



Modified:
   trunk/busybox/networking/httpd.c


Changeset:
Modified: trunk/busybox/networking/httpd.c
===================================================================
--- trunk/busybox/networking/httpd.c	2009-03-18 19:19:18 UTC (rev 25723)
+++ trunk/busybox/networking/httpd.c	2009-03-18 20:00:46 UTC (rev 25724)
@@ -1386,6 +1386,8 @@
 	if (referer)
 		setenv1("HTTP_REFERER", referer);
 	setenv1("HTTP_HOST", host); /* set to "" if NULL */
+	/* setenv1("SERVER_NAME", safe_gethostname()); - don't do this,
+	 * just run "env SERVER_NAME=xyz httpd ..." instead */
 
 	xpiped_pair(fromCgi);
 	xpiped_pair(toCgi);



More information about the busybox-cvs mailing list