]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- verbose error when fcgi packet is too small
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 7 Mar 2008 10:43:09 +0000 (10:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-fcgi-verbose.patch -> 1.4
    lighttpd.spec -> 1.247

lighttpd-fcgi-verbose.patch [new file with mode: 0644]
lighttpd.spec

diff --git a/lighttpd-fcgi-verbose.patch b/lighttpd-fcgi-verbose.patch
new file mode 100644 (file)
index 0000000..216fad4
--- /dev/null
@@ -0,0 +1,11 @@
+--- lighttpd-1.4.18/src/mod_fastcgi.c~ 2008-03-07 12:34:01.000000000 +0200
++++ lighttpd-1.4.18/src/mod_fastcgi.c  2008-03-07 12:34:04.082702348 +0200
+@@ -2352,7 +2352,7 @@
+               /* no header */
+               buffer_free(packet->b);
+-              log_error_write(srv, __FILE__, __LINE__, "s", "FastCGI: header too small");
++              log_error_write(srv, __FILE__, __LINE__, "sdsds", "FastCGI: header too small (", packet->b->used, " bytes < ", sizeof(FCGI_Header), " bytes)");
+               return -1;
+       }
index 3614ba7027206ca53a35ff83c046914d0b2fb4de..b500dddc01f0ab27aa2ad6c0209ef0d17a2741a8 100644 (file)
@@ -105,6 +105,7 @@ Patch0:             %{name}-use_bin_sh.patch
 Patch1:                %{name}-mod_evasive-status_code.patch
 Patch2:                %{name}-mod_h264_streaming.patch
 Patch3:                %{name}-branding.patch
+Patch4:                %{name}-fcgi-verbose.patch
 #Patchx:       %{name}-mod_deflate.patch
 URL:           http://www.lighttpd.net/
 %{?with_xattr:BuildRequires:   attr-devel}
@@ -780,6 +781,7 @@ Plik monitrc do monitorowania serwera www lighttpd.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 # build mime.types.conf
 sh %{SOURCE6} /etc/mime.types
This page took 0.540103 seconds and 4 git commands to generate.