AO> The actual problem here is using "POST" http method. If, for the same
 AO> code, I comment out "POST" data, and use simply "GET" method, all
 AO> notifications are sent, and everything is ok. I have a debug log for
 AO> these two methods, and now I'm going to check it. I can post is here,
 AO> but I have some doubts, because it is rather latge.

 I found the answer, and now everything works. I used nsIStorageStream 
instance to hold data, posted to server, and I used it incorrectly. If it is 
written to, and then it is not closed, at EOF 
nsStorageInputStream::ReadSegments returns NS_BASE_STREAM_WOULD_BLOCK, and 
then transaction hangs in infinite loop. If stream closed, or (better case) 
nsIStringInputStream is used, everything is ok.

_______________________________________________
dev-tech-network mailing list
[EMAIL PROTECTED]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to