httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Leggett" <minf...@sharp.fm>
Subject Re: Broken URI-unescaping in mod_proxy
Date Wed, 10 Oct 2007 14:53:54 GMT
On Wed, October 10, 2007 3:27 pm, rahul wrote:

> It would be nice to have different modules for reverse proxy and forward
> proxy.. from an FTP perspective.
>
> There is a fairly large difference in FTP (and perhaps in other protocols
> too) in terms of the optimizations that needs to be done for forward proxy
> and reverse proxy.
>
> In forward proxy, we can not assume the kind of ftp servers the client
> requests. So when there is an error of some sort we should try again
> with a syntax that might be acceptable to the next possible type of
> server.
>
> In the reverse proxy, this is wrong, and introduces unnecessary
> overheads in network traffic (where it would be simpler to ask the user
> to provide the type of server in the backend and error out if the ftp
> server returns error.)

There is no need to have separate module to achieve this - providing a
mechanism to override certain behaviour when the administrator wants it,
but defaulting to RFC compliant behaviour will achieve the same thing.

Regards,
Graham
--



Mime
View raw message