Hi ,

Netlib seems to fit better to this question, so here we go: I've run TestUpload:

$ cd dist/bin
# ./run-mozilla.sh ./TestUpload http://localhost /home/user/test.txt

and it seems to perform the upload fine (there are lots of
nsSocketOutputStream::Write calls - I saw NSPR_LOG_MODULES output),
but listener's methods (e.g.
http://mxr.landfill.bugzilla.org/seamonkey/source/netwerk/test/TestUpload.cpp#88
from nsIStreamListener) are called only after upload has been
finished.

Am I running it wrongly ? Is it a expected behavior ?

thanks

> > is it possible to listen to file upload progress with mozilla, as in the
> > same way we can do for downloads ? (I am embedding mozilla trunk with
> > newest/refactored gtkmozembed stuff)
>
> You already looked at: 
> http://mxr.landfill.bugzilla.org/seamonkey/source/netwerk/test/TestUpload.cpp
> right?


-- 
--Antonio Gomes
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to