Hi folks, this fixes the build against the httpd trunk which renamed the
mis-named ap_http_method macro to ap_http_scheme:

Index: xs/Apache/RequestRec/Apache__RequestRec.h
===================================================================
--- xs/Apache/RequestRec/Apache__RequestRec.h   (revision 124295)
+++ xs/Apache/RequestRec/Apache__RequestRec.h   (working copy)
@@ -44,6 +44,11 @@
     return retval;
 }
 
+/* 2.1 renamed ap_http_method to the ap_http_scheme */
+#ifndef ap_http_scheme
+#define ap_http_scheme(r) ap_http_method(r)
+#endif
+
 static MP_INLINE
 int mpxs_Apache__RequestRec_proxyreq(pTHX_ request_rec *r, SV *val)
 {
@@ -52,7 +57,7 @@
     if (!val && !r->proxyreq &&
         r->parsed_uri.scheme &&
        !(r->parsed_uri.hostname && 
-         strEQ(r->parsed_uri.scheme, ap_http_method(r)) &&
+         strEQ(r->parsed_uri.scheme, ap_http_scheme(r)) &&
          ap_matches_request_vhost(r, r->parsed_uri.hostname,
                                    r->parsed_uri.port_str ? 
                                    r->parsed_uri.port : 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to