Changeset 2143
- Timestamp:
- 04/05/2008 08:00:21 PM (5 months ago)
- Location:
- branches/lighttpd-1.4.x
- Files:
-
- 2 modified
-
NEWS (modified) (1 diff)
-
src/mod_fastcgi.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/NEWS
r2142 r2143 12 12 * Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env (#1308) 13 13 * Fix segfault for appending matched parts if there was no regex matching (just give empty strings) (#1601) 14 * Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" (#1628) 14 15 15 16 - 1.4.19 - 2008-03-10 -
branches/lighttpd-1.4.x/src/mod_fastcgi.c
r2119 r2143 2545 2545 2546 2546 if (HANDLER_ERROR != stat_cache_get_entry(srv, con, ds->value, &sce)) { 2547 data_string *dcls = data_string_init(); 2547 data_string *dcls; 2548 if (NULL == (dcls = (data_string *)array_get_unused_element(con->response.headers, TYPE_STRING))) { 2549 dcls = data_response_init(); 2550 } 2548 2551 /* found */ 2549 2552 http_chunk_append_file(srv, con, ds->value, 0, sce->st.st_size);

