www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@whistle.com>
Subject Re: mod_proxy/4563: [PATCH] add squid-like redirector process capability to apache proxy server
Date Sat, 12 Jun 1999 00:10:00 GMT
The following reply was made to PR mod_proxy/4563; it has been noted by GNATS.

From: Archie Cobbs <archie@whistle.com>
To: apbugs@hyperreal.org, apache-bugdb@apache.org
Cc:  Subject: Re: mod_proxy/4563: [PATCH] add squid-like redirector process capability to
apache proxy server
Date: Fri, 11 Jun 1999 13:52:27 -0700 (PDT)

 Oops! In stripping out some Whistle-specific stuff, I inadvertently
 omitted a small but important part of the patch to mod_proxy.c..
 it's included below.
 
 -Archie
 
 ___________________________________________________________________________
 Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
 
 diff -C3 --unidirectional-new-file -r apache_1.3.6.orig/src/modules/proxy/mod_proxy.c apache_1.3.6/src/modules/proxy/mod_proxy.c
 *** apache_1.3.6.orig/src/modules/proxy/mod_proxy.c	Wed Mar 10 09:42:46 1999
 --- apache_1.3.6/src/modules/proxy/mod_proxy.c	Fri Jun 11 13:49:54 1999
 ***************
 *** 323,328 ****
 --- 328,337 ----
       if (p == NULL)
   	return HTTP_BAD_REQUEST;
   
 +     rc = ap_proxy_redirect_req(r, conf, url);
 +     if (rc != DECLINED)
 +        return rc;
 + 
       rc = ap_proxy_cache_check(r, url, &conf->cache, &cr);
       if (rc != DECLINED)
   	return rc;

Mime
View raw message