[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proxy
Ueli,
I suppose we could do something like use an int for the ordering, and just
maintain an official registry of network protocol modules and their
assignments, so people can choose an Order() number that is appropriate to
their module.
Andrew
On 10 Jun 1997, Ueli Rutishauser wrote:
> Andrew,
>
> Answer to a message from Andrew Berkley <ajb6@cornell.edu> to dev@mnemonic.browser.org:
>
> > You raised a good question in the proxy.txt file -- how the netmanager
> > can order requests. We need a mechanism to do this. I think perhaps
> > adding a new call to all Protocol Handlers like int
> > ProtocolHandler::Order() where the returned int is a preference for
> > order. Hmmm.
> additional, there are some more problems to solve: when the proxy is loaded and configured for HTTP,
> the normal HTTP mustn't be loaded. the same with FTP... i try to find a solution :) other ideas?
>
> proposal
> the Order() method (must be called after creation/load) returns 1 or 2
> 1= must be THE first, 2 = don't must be the first called modul.
> the networkmanager must then ask the protocols for handle a URL with a definied order.
>
> -what is when a modul with Order() == 1 is allready loaded and a other modul has Order() ==1 set?
> -are more complex orders needed ? (as example "is not the first protocol, but must be asked befor FTP")
>
> cu,
> Ueli (urutishauser@bigfoot.com)
>
>
- References:
- proxy
- From: urutishauser@bigfoot.com (Ueli Rutishauser)