httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: UseCanonicalName considered harmful
Date Wed, 06 Feb 2002 16:11:24 GMT
> > > ServerName MyServer.Com
> > > Listen 10000
> > > Listen 20000
> > >   Canonical name should be:
MyServer.Com:<port-used-by-the-request>
> >
> > I agree with all of them up through this last one.  It's not that I
> > disagree with this, just that I'd be perfectly happy if the
Canonical
> > name used 10000 or 20000 regardless of which port the request came
in
> > on.
> 
> But if both are equally acceptable, I think we definitely need
> to err on the side of using the port the original request did.
> Consider the case of that port being explicitly punched through
> a firewall; by redirecting to a different port even though the
> original was valid, we may end up replying with a redirect the
> client can't reach.

You convinced me.  I should have the patch soon.  I was reading this
code last night, and it looks like a one or two-liner.  :-)

Ryan


Mime
View raw message