]>
Commit | Line | Data |
---|---|---|
77b6d8cb ER |
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" | |
cbffb2dd | 8 | |
77b6d8cb ER |
9 | #include "configfile.h" |
10 | ||
11 | @@ -111,6 +111,8 @@ | |
12 | if (!buffer_string_is_empty(con->conf.server_tag)) { | |
4fa4837c | 13 | buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: ")); |
cbffb2dd | 14 | buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER); |
77b6d8cb ER |
15 | + } else { |
16 | + buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (PLD Linux)")); | |
17 | } | |
18 | } | |
19 |