Changeset 2151
- Timestamp:
- 04/23/2008 01:10:41 PM (4 months ago)
- Location:
- branches/lighttpd-1.4.x/src
- Files:
-
- 4 modified
-
connections.c (modified) (2 diffs)
-
mod_compress.c (modified) (4 diffs)
-
response.c (modified) (1 diff)
-
server.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/src/connections.c
r2144 r2151 546 546 /* no Content-Body, no Content-Length */ 547 547 if (NULL != (ds = (data_string*) array_get_element(con->response.headers, "Content-Length"))) { 548 buffer_reset(ds->value); / / Headers with empty values are ignored for output548 buffer_reset(ds->value); /* Headers with empty values are ignored for output */ 549 549 } 550 550 } else if (qlen > 0 || con->request.http_method != HTTP_METHOD_HEAD) { … … 848 848 849 849 /* The cond_cache gets reset in response.c */ 850 // config_cond_cache_reset(srv, con); 850 /* config_cond_cache_reset(srv, con); */ 851 851 852 852 #ifdef USE_OPENSSL -
branches/lighttpd-1.4.x/src/mod_compress.c
r2128 r2151 103 103 } 104 104 105 / / 0 on success, -1 for error105 /* 0 on success, -1 for error */ 106 106 int mkdir_recursive(char *dir) { 107 107 char *p = dir; … … 119 119 120 120 *p++ = '/'; 121 if (!*p) return 0; / / Ignore trailing slash121 if (!*p) return 0; /* Ignore trailing slash */ 122 122 } 123 123 … … 125 125 } 126 126 127 / / 0 on success, -1 for error127 /* 0 on success, -1 for error */ 128 128 int mkdir_for_file(char *filename) { 129 129 char *p = filename; … … 141 141 142 142 *p++ = '/'; 143 if (!*p) return -1; / / Unexpected trailing slash in filename143 if (!*p) return -1; /* Unexpected trailing slash in filename */ 144 144 } 145 145 -
branches/lighttpd-1.4.x/src/response.c
r2145 r2151 153 153 154 154 config_cond_cache_reset(srv, con); 155 config_setup_connection(srv, con); / / Perhaps this could be removed at other places.155 config_setup_connection(srv, con); /* Perhaps this could be removed at other places. */ 156 156 157 157 if (con->conf.log_condition_handling) { -
branches/lighttpd-1.4.x/src/server.c
r2082 r2151 894 894 } 895 895 896 / /Close stderr ASAP in the child process to make sure that nothing897 // is being written to that fd which may not be valid anymore.896 /* Close stderr ASAP in the child process to make sure that nothing 897 * is being written to that fd which may not be valid anymore. */ 898 898 if (-1 == log_error_open(srv)) { 899 899 log_error_write(srv, __FILE__, __LINE__, "s", "Opening errorlog failed. Going down.");

