httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 mod_proxy.c proxy_ftp.c
Date Sun, 18 Mar 2001 04:56:26 GMT
chuck       01/03/17 20:56:26

  Modified:    module-2.0 mod_proxy.c proxy_ftp.c
  Log:
  The mod_proxy side of Graham's Auth patch
  Obtained from: Graham Leggett
  Reviewed by:	Chuck Murcko
  
  Revision  Changes    Path
  1.26      +4 -4      httpd-proxy/module-2.0/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/mod_proxy.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_proxy.c	2001/03/11 11:08:22	1.25
  +++ mod_proxy.c	2001/03/18 04:56:25	1.26
  @@ -156,7 +156,7 @@
   	    && !strcasecmp(r->parsed_uri.scheme, ap_http_method(r))
   	    && ap_matches_request_vhost(r, r->parsed_uri.hostname,
                  r->parsed_uri.port_str ? r->parsed_uri.port : ap_default_port(r))))
{
  -	    r->proxyreq = 1;
  +	    r->proxyreq = PROXYREQ_PROXY;
   	    r->uri = r->unparsed_uri;
   	    r->filename = apr_pstrcat(r->pool, "proxy:", r->uri, NULL);
   	    r->handler = "proxy-server";
  @@ -166,7 +166,7 @@
       else if (conf->req && r->method_number == M_CONNECT
   	     && r->parsed_uri.hostname
   	     && r->parsed_uri.port_str) {
  -	    r->proxyreq = 1;
  +	    r->proxyreq = PROXYREQ_PROXY;
   	    r->uri = r->unparsed_uri;
   	    r->filename = apr_pstrcat(r->pool, "proxy:", r->uri, NULL);
   	    r->handler = "proxy-server";
  @@ -201,7 +201,7 @@
              r->filename = apr_pstrcat(r->pool, "proxy:", ent[i].real,
                                    r->uri + len, NULL);
              r->handler = "proxy-server";
  -           r->proxyreq = 1;
  +           r->proxyreq = PROXYREQ_REVERSE;
              return OK;
   	}
       }
  @@ -303,7 +303,7 @@
   	long maxfwd = strtol(maxfwd_str, NULL, 10);
   	if (maxfwd < 1) {
   	    int access_status;
  -	    r->proxyreq = 0;
  +	    r->proxyreq = PROXYREQ_NONE;
   	    if ((access_status = ap_send_http_trace(r)))
   		ap_die(access_status, r);
   	    else
  
  
  
  1.30      +1 -1      httpd-proxy/module-2.0/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_ftp.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- proxy_ftp.c	2001/02/11 00:12:43	1.29
  +++ proxy_ftp.c	2001/03/18 04:56:26	1.30
  @@ -438,7 +438,7 @@
    */
   static int ftp_unauthorized (request_rec *r, int log_it)
   {
  -    r->proxyreq = 0;
  +    r->proxyreq = PROXYREQ_NONE;
       /* Log failed requests if they supplied a password
        * (log username/password guessing attempts)
        */
  
  
  

Mime
View raw message