]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-branding.patch
- load mod_magnet after other path-altering modules (like mod_secdownload), so
[packages/lighttpd.git] / lighttpd-branding.patch
index fe84aa998b40fcd80dc98a136e8177672f835027..9fdf8a5681c31949a202bf6129ea1330e2b480e1 100644 (file)
@@ -1,11 +1,11 @@
---- lighttpd-1.4.19/src/response.c~    2008-04-10 21:33:53.255875588 +0300
-+++ lighttpd-1.4.19/src/response.c     2008-04-10 21:34:21.149289502 +0300
-@@ -100,7 +100,7 @@
+--- 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 @@
  
        if (!have_server) {
                if (buffer_is_empty(con->conf.server_tag)) {
--                      BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION);
-+                      BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION " (PLD Linux)");
+-                      buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC));
++                      buffer_append_string_len(b, CONST_STR_LEN("\r\nServer: " PACKAGE_DESC " (PLD Linux)"));
                } else if (con->conf.server_tag->used > 1) {
-                       BUFFER_APPEND_STRING_CONST(b, "\r\nServer: ");
+                       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);
This page took 0.029883 seconds and 4 git commands to generate.