Changeset 2145
- Timestamp:
- 04/10/2008 10:54:27 AM (5 months ago)
- Location:
- branches/lighttpd-1.4.x
- Files:
-
- 2 modified
-
NEWS (modified) (1 diff)
-
src/response.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.4.x/NEWS
r2143 r2145 13 13 * Fix segfault for appending matched parts if there was no regex matching (just give empty strings) (#1601) 14 14 * Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" (#1628) 15 * Don't send empty Server headers (#1620) 15 16 16 17 - 1.4.19 - 2008-03-10 -
branches/lighttpd-1.4.x/src/response.c
r2113 r2145 102 102 if (buffer_is_empty(con->conf.server_tag)) { 103 103 BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION); 104 } else {104 } else if (con->conf.server_tag->used > 1) { 105 105 BUFFER_APPEND_STRING_CONST(b, "\r\nServer: "); 106 106 buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER);

