freebsd-ports/www/mod_fastcgi/files/patch-mod_fastcgi.c
Jochen Neumeister f52512fba7 www:mod_fastcgi: Update to 2.4.7.1
The website of fastcgi has been down for a long time.
The project is now in a GitHub archive: https://github.com/FastCGI-Archives

Also switch to GitHub with www/mod_fastcgi

Changelog:
*) cast from pointer to integer of different size fix
*) fix prinf %d warning
*) .cvsignore to .gitignore
*) apache 2.4 compile fix

- While I am here, use "make makepatch" for the patches in /files

Approved by:	brnrd (apache)
With hat:	apache
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D18471
2018-12-14 13:57:09 +00:00

20 lines
826 B
C

--- mod_fastcgi.c.orig 2017-03-29 21:11:44 UTC
+++ mod_fastcgi.c
@@ -2219,7 +2219,7 @@ SERVER_SEND:
if (select_status < 0)
{
ap_log_rerror(FCGI_LOG_ERR_ERRNO, r, "FastCGI: comm with server "
- "\"%s\" aborted: select() failed", fr->fs_path);
+ "\"%s\" aborted: select() failed: \"%s\"", fr->fs_path, strerror(errno));
state = STATE_ERROR;
break;
}
@@ -2302,7 +2302,7 @@ SERVER_SEND:
else
{
ap_log_rerror(FCGI_LOG_ERR, r, "FastCGI: comm with server "
- "\"%s\" aborted: read failed", fr->fs_path);
+ "\"%s\" aborted: read failed: \"%s\"", fr->fs_path, strerror(errno));
state = STATE_ERROR;
break;
}