My problem is not that gecko does not use the proxy, it does, but I'm
not notified when it receives some chunk of data by the
nsIWebProgressListener...
But when I do not set a proxy the notification is done.
I keep my 2 cents
Antonio Gomes wrote:
I forgot to say , add these lines into your ~/.mozilla/***/prefs.js or
~/.TestGtkEmbed/TestGtkEmbed/prefs.js
my 2 cents
On 11/16/06, Antonio Gomes <[EMAIL PROTECTED]> wrote:
hum,
try adding
user_pref("network.proxy.ftp", "10.241.32.12");
user_pref("network.proxy.ftp_port", 8080);
user_pref("network.proxy.gopher ", "10.241.32.12");
user_pref("network.proxy.gopher_port", 8080);
user_pref("network.proxy.http", "10.241.32.12 ");
user_pref("network.proxy.http_port", 8080);
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "10.241.32.12 ");
user_pref("network.proxy.socks_port", 8080);
user_pref("network.proxy.ssl", "10.241.32.12");
user_pref("network.proxy.ssl_port", 8080);
user_pref("network.proxy.type", 1);
of source, replacing "10.241.32.12" by your proxy server. If it works,
then you sent set them via code through some pref sets.
regards
On 11/16/06, Olivier Danes <[EMAIL PROTECTED]> wrote:
>
> hi all,
>
> I use the gtkmozembed wrapper to load document with Gecko and I use the
> progress change notification callback, build over
> nsIWebProgressListener::OnProgressChange(), to know the size of the
> document loaded.
>
> It works well except when I use a proxy even if a Content-Length header
> is sent into the reply ! The OnProgressChange() callback is never
> called.
>
> I try to search into the bugzilla database but I've found nothing...
> (but my query may not be the good one)
>
> Is someone as the same problem (I try with the TestGtkEmbed program and
> I've got the same behavior) ? Is there another way to retrieve the size
> of the loaded document ?
>
> Thx.
>
> Olivier.
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding
>
--
--Antonio Gomes
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding