---- lighttpd-1.4.22/src/response.c~ 2009-04-17 00:50:21.000000000 +0300
-+++ lighttpd-1.4.22/src/response.c 2009-04-17 00:51:22.174367972 +0300
-@@ -105,7 +105,7 @@
+--- lighttpd-1.4.40/src/response.c~ 2016-07-16 13:06:16.000000000 +0300
++++ lighttpd-1.4.40/src/response.c 2016-07-25 14:16:59.131926942 +0300
+@@ -5,6 +5,7 @@
+ #include "log.h"
+ #include "stat_cache.h"
+ #include "chunk.h"
++#include "version.h"
- if (!have_server) {
- if (buffer_is_empty(con->conf.server_tag)) {
-- buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC));
-+ buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (TLD Linux)"));
- } else if (con->conf.server_tag->used > 1) {
+ #include "configfile.h"
+
+@@ -111,6 +111,8 @@
+ if (!buffer_string_is_empty(con->conf.server_tag)) {
buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: "));
buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER);
++ } else {
++ buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (TLD Linux)"));
+ }
+ }
+