]> TLD Linux GIT Repositories - packages/lighttpd.git/blob - lighttpd-branding.patch
- updated to 1.4.40, partial PLD merge
[packages/lighttpd.git] / lighttpd-branding.patch
1 --- lighttpd-1.4.40/src/response.c~     2016-07-16 13:06:16.000000000 +0300
2 +++ lighttpd-1.4.40/src/response.c      2016-07-25 14:16:59.131926942 +0300
3 @@ -5,6 +5,7 @@
4  #include "log.h"
5  #include "stat_cache.h"
6  #include "chunk.h"
7 +#include "version.h"
8  
9  #include "configfile.h"
10  
11 @@ -111,6 +111,8 @@
12                 if (!buffer_string_is_empty(con->conf.server_tag)) {
13                         buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: "));
14                         buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER);
15 +               } else {
16 +                       buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (TLD Linux)"));
17                 }
18         }
19