www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul COURBIS <Paul.Cour...@crm.mot.com>
Subject Re: mod_proxy/3009: RemoteProxy CAN'T request an authorization
Date Tue, 20 Oct 1998 11:10:00 GMT
The following reply was made to PR mod_proxy/3009; it has been noted by GNATS.

From: Paul COURBIS <Paul.Courbis@crm.mot.com>
To: apbugs@hyperreal.org, apache-bugdb@apache.org
Cc:  Subject: Re: mod_proxy/3009: RemoteProxy CAN'T request an authorization
Date: Tue, 20 Oct 1998 11:54:39 +0200

 The same problem exists with the CONNECT method. Temporarely Idid the following
 change in proxy_connect.c
 
 126,127d125
 <     array_header *reqhdrs_arr; /* plc */
 <     table_entry *reqhdrs; /* plc */
 229,242c227
 < /***************** Add authorization if known *****************/
 <         reqhdrs_arr = ap_table_elts(r->headers_in);
 <         reqhdrs = (table_entry *) reqhdrs_arr->elts;
 <         for (i = 0; i < reqhdrs_arr->nelts; i++)
 <         {
 <          if (reqhdrs[i].key == NULL || reqhdrs[i].val == NULL
 <              || strcasecmp(reqhdrs[i].key, "Proxy-Authorization") )
 <          {
 <             continue;
 <          }
 <          ap_snprintf(buffer, sizeof(buffer),
 <                      "Proxy-Authorization: %s" CRLF, reqhdrs[i].val );
 <         }
 <       ap_snprintf(buffer+strlen(buffer), sizeof(buffer)-strlen(buffer),
 ---
 >       ap_snprintf(buffer, sizeof(buffer),
 244d228
 < /**************************************************************/
 
 Problem : it forward the authorization to every remote proxy... Should keep
 a table of which proxy asked an auth (?)
 
 BTW: shouldn't the User-Agent be sent to ?
 
 		Paul
 
 
 According to apbugs@hyperreal.org <apbugs@hyperreal.org> (on 09/16/98):
 > Thank you very much for your problem report.
 > It has the internal identification `mod_proxy/3009'.
 > The individual assigned to look at your
 > report is: apache. 
 > 
 > >Category:       mod_proxy
 > >Responsible:    apache
 > >Synopsis:       RemoteProxy CAN'T request an authorization
 > >Arrival-Date:   Wed Sep 16 08:20:00 PDT 1998
 
 -- 
 -=-=-=-=-=-  Paul COURBIS -=- Responsable Systemes Informatiques  -=-=-=-=-=-
 -=-=-=-  Centre de Recherche Motorola  -=-  Paul.COURBIS@crm.mot.com  -=-=-=-
 -=-         Voice: +33 (0)1 69.35.25.37  Fax: +33 (0)1 69.35.25.01        -=-
 <legal>Opinions hereabove are my own and not those of my organization</legal>

Mime
View raw message