summaryrefslogtreecommitdiff
path: root/www/mod_fastcgi/files/patch-mod_fastcgi.c
blob: 19da9b1e5bb8d5e14c00f01f33389332a89fef16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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;
             }