From 866af7bc31c87b47b7938ec50ba189ce66520b61 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Sat, 14 Jan 2006 18:37:16 +0000 Subject: [PATCH] added comment about applying response header multiple times git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@951 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/response.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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");