Doug Turner wrote:

> What was the reason for this proposed change?  is there a bug with more 
> context?

The concept of a FailedToStart nsIStreamObserver notification
came out of some discussion I had with Gagan before he left.

> 
> The way I see it is that the error handling should be done in the 
> |onStopRequest|.  Until then, it is assumed that everything is going 

Yes, error handling should be done in OnStopRequest.  This
makes sense provided OnStartRequest has been called.  The
protocol/transport implementation cannot call OnStopRequest
if it has not already called OnStartRequest.

So, what about the case of an error occuring before OnStartRequest
has been called?

> okay. Would this be some kind of callback so that you could correct 
> problems?
>  
>  

No.


Darin

Reply via email to