From: Jim Jagielski Date: Mon, 2 Jan 2006 18:25:42 +0000 (+0000) Subject: Temporary hack to allow testing to continue. Interesting that X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff525fb28582adfdfe272c9274b52a6084ea2935;p=thirdparty%2Fapache%2Fhttpd.git Temporary hack to allow testing to continue. Interesting that other FCGI modules (like mod_fcgid) don't bother to test the return request_id... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365387 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index fef8874ed9c..a4560c4086d 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -491,8 +491,10 @@ static apr_status_t dispatch(proxy_conn_rec *conn, request_rec *r, ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, "proxy: FCGI: Got bogus rid %d, expected %d", rid, request_id); +#if defined(RID_MISMATCH_IS_TERMINAL_ERROR) rv = APR_EINVAL; break; +#endif } clen |= rheader.contentLengthB1 << 8;