Changeset 2080
- Timestamp:
- 02/26/2008 04:19:42 PM (5 months ago)
- Files:
-
- branches/lighttpd-1.4.x/src/connections.c (modified) (1 diff)
- branches/lighttpd-1.4.x/src/response.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/lighttpd-1.4.x/src/connections.c
r1985 r2080 835 835 } 836 836 837 #if COND_RESULT_UNSET 838 for (i = srv->config_context->used - 1; i >= 0; i --) { 839 con->cond_cache[i].result = COND_RESULT_UNSET; 840 con->cond_cache[i].patterncount = 0; 841 } 842 #else 843 memset(con->cond_cache, 0, sizeof(cond_cache_t) * srv->config_context->used); 844 #endif 837 /* The cond_cache gets reset in response.c */ 838 // config_cond_cache_reset(srv, con); 845 839 846 840 #ifdef USE_OPENSSL branches/lighttpd-1.4.x/src/response.c
r2034 r2080 20 20 #include "chunk.h" 21 21 22 #include "configfile.h" 22 23 #include "connections.h" 23 24 … … 151 152 * */ 152 153 154 config_cond_cache_reset(srv, con); 155 config_setup_connection(srv, con); // Perhaps this could be removed at other places. 156 153 157 if (con->conf.log_condition_handling) { 154 158 log_error_write(srv, __FILE__, __LINE__, "s", "run condition");

