hi, I am trying to somehow get notified that connection has been lost
while downloading a file, so that I can warn/prompt users about it. I
have noticed that by the time I shut connection down, OnDataAvailable
(from uriloader/exthandler/nsExternalHelperApp.cpp) is just not called
anymore, so certainly the problem is deeper than that. That is how deep
I got so far:
nsSocketInputStream::OnSocketReady
calls -> nsInputStreamPump::OnInputStreamReady
calls -> cnsInputStreamPump::OnStateTransfer
calls -> ExternalAppHandler::OnDataAvailable ...
After shutting down the connection, none of them are any longer called.
Is there any error listener for that? How could I handle it in a
reasonable way?
--
Tomaz Nolêto
System Analyst
Open Source Mobile Research Center (OSMRC)
Instituto Nokia de Tecnologia (INdT)
[EMAIL PROTECTED]
+55 92 2126-1115
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network