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:
On 4/27/07, Christian Biesinger <[hidden email]> wrote:
> Tomaz Nolêto wrote:
> > 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?
> OnStopRequest should be called in that case, with a failure status
> code... is it?
that bug is not about a lost network connection though. It is about
(basically) a timeout, as far as I can tell, except that Necko's HTTP
code never does timeouts. Therefore you are not notified about anything,
as the networking layer just assumes that there will be more data
> Antonio Gomes wrote:
> > very similar to bug https://bugzilla.mozilla.org/show_bug.cgi?id=265828,
> > but
> > we are running over the trunk, libxul, a modified minimal profile build.
> that bug is not about a lost network connection though. It is about
> (basically) a timeout, as far as I can tell, except that Necko's HTTP
> code never does timeouts. Therefore you are not notified about anything,
> as the networking layer just assumes that there will be more data
> All the world's a stage,
> And all the men and women merely players:
> They have their exits and their entrances;
> And one man in his time plays many parts, [...] --W. Shakespeare