From: Jeff Trawick Date: Thu, 26 Sep 2013 19:14:39 +0000 (+0000) Subject: allow building mod_authnz_fcgi with 2.4.x branch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=559053e1d3341a733abb905971a8b3edc7d1580a;p=thirdparty%2Fapache%2Fhttpd.git allow building mod_authnz_fcgi with 2.4.x branch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526647 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_authnz_fcgi.c b/modules/aaa/mod_authnz_fcgi.c index 6f6e2750e17..04bb837ed39 100644 --- a/modules/aaa/mod_authnz_fcgi.c +++ b/modules/aaa/mod_authnz_fcgi.c @@ -29,6 +29,7 @@ #include "ap_provider.h" #include "mod_auth.h" #include "util_fcgi.h" +#include "ap_mmn.h" module AP_MODULE_DECLARE_DATA authnz_fcgi_module; @@ -181,9 +182,11 @@ static apr_status_t recv_data(const fcgi_provider_conf *conf, conf->backend); return rv; } - + +#if AP_MODULE_MAGIC_AT_LEAST(20130702,2) ap_log_rdata(APLOG_MARK, APLOG_TRACE5, r, "FastCGI data received", buf, *buflen, AP_LOG_DATA_SHOW_OFFSET); +#endif return APR_SUCCESS; } @@ -222,8 +225,10 @@ static apr_status_t sendv_data(const fcgi_provider_conf *conf, for (i = 0; i < nvec; i++) { to_write += vec[i].iov_len; +#if AP_MODULE_MAGIC_AT_LEAST(20130702,2) ap_log_rdata(APLOG_MARK, APLOG_TRACE5, r, "FastCGI data sent", vec[i].iov_base, vec[i].iov_len, AP_LOG_DATA_SHOW_OFFSET); +#endif } offset = 0;