rpms/lighttpd/devel lighttpd-1.4.9-mod_fastcgi-fix.patch, NONE, 1.1 lighttpd.spec, 1.18, 1.19

Matthias Saou (thias) fedora-extras-commits at redhat.com
Wed Jan 25 09:54:00 UTC 2006


Author: thias

Update of /cvs/extras/rpms/lighttpd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3757

Modified Files:
	lighttpd.spec 
Added Files:
	lighttpd-1.4.9-mod_fastcgi-fix.patch 
Log Message:
Add mod_fastcgi-fix patch to fix crash on backend overload.


lighttpd-1.4.9-mod_fastcgi-fix.patch:

--- NEW FILE lighttpd-1.4.9-mod_fastcgi-fix.patch ---
--- lighttpd-1.4.9.orig/src/mod_fastcgi.c	2006-01-14 00:10:56.000000000 -0800
+++ lighttpd-1.4.9/src/mod_fastcgi.c	2006-01-24 13:06:33.710585506 -0800
@@ -2854,7 +2854,7 @@
 			 * -> EAGAIN */
 
 			log_error_write(srv, __FILE__, __LINE__, "ssdsdb", 
-				"backend is overloaded, we disable it for a 2 seconds and send the request to another backend instead:"
+				"backend is overloaded, we disable it for a 2 seconds and send the request to another backend instead:",
 				"reconnects:", hctx->reconnects,
 				"load:", host->load,
 				host->unixsocket);


Index: lighttpd.spec
===================================================================
RCS file: /cvs/extras/rpms/lighttpd/devel/lighttpd.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- lighttpd.spec	16 Jan 2006 10:18:56 -0000	1.18
+++ lighttpd.spec	25 Jan 2006 09:54:00 -0000	1.19
@@ -3,7 +3,7 @@
 Summary: Lightning fast webserver with light system requirements
 Name: lighttpd
 Version: 1.4.9
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.lighttpd.net/
@@ -16,6 +16,7 @@
 Source13: http://www.lighttpd.net/light_button.png
 Source14: http://www.lighttpd.net/light_logo.png
 Patch0: lighttpd-1.3.10-defaultconf.patch
+Patch1: lighttpd-1.4.9-mod_fastcgi-fix.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires(pre): /usr/sbin/useradd
 Requires(post): /sbin/chkconfig
@@ -67,6 +68,7 @@
 %prep
 %setup
 %patch0 -p1 -b .defaultconf
+%patch1 -pB -b .mod_fastcgi-fix
 
 
 %build
@@ -173,6 +175,9 @@
 
 
 %changelog
+* Wed Jan 25 2006 Matthias Saou <http://freshrpms.net/> 1.4.9-2
+- Add mod_fastcgi-fix patch to fix crash on backend overload.
+
 * Mon Jan 16 2006 Matthias Saou <http://freshrpms.net/> 1.4.9-1
 - Update to 1.4.9.
 




More information about the fedora-extras-commits mailing list