Uh, I guess it looks a little ambigous:

 /* At this point, we start sending the HTTP/1.1 request to the
  * remote server (proxy or otherwise).
  */
 f = ap_bcreate(p, B_RDWR | B_SOCKET);
 ap_bpushfd(f, sock, sock);

 ap_hard_timeout("proxy send", r);
 ap_bvputs(f, r->method, " ", proxyhost ? url : urlptr, " HTTP/1.0" CRLF,


- Gabriel



                                                                                
                                     
                    Ian Holsman                                                 
                                     
                    <[EMAIL PROTECTED]       To:     "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>               
                    net.com>             cc:                                    
                                     
                                         Subject:     RE: patch: 
proxy-preserve-host                                 
                    01/29/2002                                                  
                                     
                    01:09 PM                                                    
                                     
                    Please respond                                              
                                     
                    to                                                          
                                     
                    modproxy-dev                                                
                                     
                                                                                
                                     
                                                                                
                                     




commited in 2.0
1.3.23 is now doing a 1.1 request isn't it?


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 29, 2002 12:58 PM
> To: [EMAIL PROTECTED]
> Subject: RE: patch: proxy-preserve-host
>
>
>
> I think that while ProxyPreserveHost is set that if you don't
> get a Host
> header then it's fine to create one and set it to
> server_name. But this can
> happen in http 1.0 just as well as 0.9 can't it?
>
> For 1.3, do we _need_ to create Host header when we didn't
> get one? The
> proxy outgoing requests are currently http 1.0 which doesn't
> mandate a Host
> header.
>
> - Gabriel
>
> > I've got the 2.0 version working now.
>
>
> > The only question I've got (which will affect the 1.3 patch)
> > is what do you do when you get a 0.9 request.
>
>
> > I've set it up so that IF the hostname is blank on the
> incoming request
> > it will use r->server->server_name. as a default.
>







Reply via email to