Re: nsIChannel Open() call goes into hanging state

[email protected] Sun, 8 Dec 2013 21:11:10 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Hi Neil,

Thanks for reply. Ignore if i posted something wrong.

nsIURI contains the path for URI to be opened.

Let's say we want to open URI for authentication ( abcd.php ) then it will contain the path for abcd.php file.

Thanks in Advance.



On Wednesday, December 4, 2013 10:55:31 AM UTC+5:30, [email protected] wrote:
> Hi All,
> 
> 
> 
> Below code is getting hanged in linux and it is in blocking state.
> 
> 
> 
> nsIChannel *channel;
> 
> 
> 
> // Now, open the IO channel to an input stream form which we'll get the data
> 
> nsIInputStream *is;
> 
> rv = channel->Open(&is);
> 
> 
> 
> 
> 
> In above code Open() call is blocked and not coming out and application is in hanging state.
> 
> 
> 
> 
> 
> Is there any idea why in  Open() call is blocked ?
> 
> 
> 
> 
> 
> Thanks in Advance.