Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-03-18 23:00:46 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2009-03-18 23:00:46 +0300
commitcbb4e61dd5431a48cf161489f02d46b77c997053 (patch)
tree29213ed6c82f7f01bb307a234b76fafae36cd278 /networking/httpd.c
parent9f57cf6604638f14390effa01b51c8ad979f14cd (diff)
httpd: add comment explaining why SERVER_NAME etc is not set.
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 01b56ebd2..6bf103c56 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1386,6 +1386,8 @@ static void send_cgi_and_exit(
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);