> Dmitry Dartz wrote:
>> yep, such a crazy HTTP proxy that intercepts one and only one host and is 
>> completely transparent for anything else, including any real proxy if it 
>> is set. Would you please recommend a direction to dig into?
>
> As I recall, proxies can be chained.  See nsIProtocolProxyService?  That 
> lets you filter the list or proxies based on the URI.
>

Thanks. I'll check all stuff around nsIProtocolProxyService.
Before now I thought it would be easier to derive a class from
nsHttpHandler and register it for the http protocol right after xpcom is
initialized and all the modules are loaded and initialized. This class will
create standard channels for all hosts except specified one that I need
to mimic. To me it looks like it is an acceptable way for an application
that embeds  Mozilla browser.
What do you think?

Regards 


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to