summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-01-14 18:37:16 +0000
committerJan Kneschke <jan@kneschke.de>2006-01-14 18:37:16 +0000
commit6d593a2bbdbbcd54727da4538dbfbc6f26c6a65d (patch)
tree34791c7d5e7ad9f5bfa7a5322bbacca34f6eff21
parentfdc5633fbd72f4572d85b27ec1b5f1764a5dc44c (diff)
downloadlighttpd-git-6d593a2bbdbbcd54727da4538dbfbc6f26c6a65d.tar.gz
added comment about applying response header multiple times
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@951 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--src/response.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/response.c b/src/response.c
index 7af58dde..d955ceca 100644
--- a/src/response.c
+++ b/src/response.c
@@ -133,6 +133,18 @@ handler_t http_response_prepare(server *srv, connection *con) {
/* no decision yet, build conf->filename */
if (con->mode == DIRECT && con->physical.path->used == 0) {
char *qstr;
+
+ /* we only come here when we have the parse the full request again
+ *
+ * a HANDLER_COMEBACK from mod_rewrite and mod_fastcgi might be a
+ * problem here as mod_setenv might get called multiple times
+ *
+ * fastcgi-auth might lead to a COMEBACK too
+ * fastcgi again dead server too
+ *
+ * mod_compress might add headers twice too
+ *
+ * */
if (con->conf.log_condition_handling) {
log_error_write(srv, __FILE__, __LINE__, "s", "run condition");