8335b1
diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c
8335b1
index 19fed62..7889b0e 100644
8335b1
--- a/modules/proxy/mod_proxy_fcgi.c
8335b1
+++ b/modules/proxy/mod_proxy_fcgi.c
8335b1
@@ -927,6 +927,15 @@ static int fcgi_do_request(apr_pool_t *p, request_rec *r,
8335b1
     /* Step 3: Read records from the back end server and handle them. */
8335b1
     rv = dispatch(conn, conf, r, request_id);
8335b1
     if (rv != APR_SUCCESS) {
8335b1
+        /* If the client aborted the connection during retrieval or (partially)
8335b1
+         * sending the response, dont't return a HTTP_SERVICE_UNAVAILABLE, since
8335b1
+         * this is not a backend problem. */
8335b1
+         if (r->connection->aborted) {
8335b1
+            ap_log_rerror(APLOG_MARK, APLOG_TRACE1, rv, r,
8335b1
+                          "The client aborted the connection.");
8335b1
+            conn->close = 1;
8335b1
+            return OK;
8335b1
+        }
8335b1
         ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01075)
8335b1
                       "Error dispatching request to %s:", server_portstr);
8335b1
         conn->close = 1;