summaryrefslogtreecommitdiffstats
path: root/modules/generators/mod_cgid.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2013-05-14 20:58:06 +0200
committerGraham Leggett <minfrin@apache.org>2013-05-14 20:58:06 +0200
commit9bc9d79079bbeeb65f46c59ab6aa40588cbde9ff (patch)
tree2c032a4866a01a4b8e040e6cb668360a7fd75cd7 /modules/generators/mod_cgid.c
parenthunk 1: C89 please; (diff)
downloadapache2-9bc9d79079bbeeb65f46c59ab6aa40588cbde9ff.tar.xz
apache2-9bc9d79079bbeeb65f46c59ab6aa40588cbde9ff.zip
core: Stop the HTTP_IN filter from attempting to write error buckets
to the output filters, which is bogus in the proxy case. Create a clean mapping from APR codes to HTTP status codes, and use it where needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1482522 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators/mod_cgid.c')
-rw-r--r--modules/generators/mod_cgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c
index 56d3524330..07c31930e5 100644
--- a/modules/generators/mod_cgid.c
+++ b/modules/generators/mod_cgid.c
@@ -1473,7 +1473,7 @@ static int cgid_handler(request_rec *r)
}
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01270)
"Error reading request entity data");
- return HTTP_INTERNAL_SERVER_ERROR;
+ return ap_map_http_request_error(rv, HTTP_INTERNAL_SERVER_ERROR);
}
for (bucket = APR_BRIGADE_FIRST(bb);