re,

one more point, when the proxy is set, nsIWebProgressListener::OnProgressChange() is "sometime" called, I have more chance to be notified if the file is big (a few tens of kilo bytes). But I'm always notified if the file size is 65537 bytes ((2^16)+1)...

PS: the proxy listens on 127.0.0.1


Olivier Danes 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

Reply via email to