projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f57cf6
)
httpd: add comment explaining why SERVER_NAME etc is not set.
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 18 Mar 2009 20:00:46 +0000
(20:00 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 18 Mar 2009 20:00:46 +0000
(20:00 -0000)
networking/httpd.c
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index 01b56ebd20d4d2a9537bc5b46a784b4795f90dd7..6bf103c56fe6b555eed241a03bda720d7ff6381d 100644
(file)
--- 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);