Re: nsIChannel Open() call goes into hanging state
[email protected] Thu, 5 Dec 2013 23:13:57 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
Hi Neil,
Thanks for your reply.
Below is the code , ios is "@mozilla.org/network/io-service;1"
nsIChannel *channel;
rv = ios->NewChannel(nsUri, NULL, NULL, &channel);
// Now, open the IO channel to an input stream form which we'll get the data
nsIInputStream *is;
rv = channel->Open(&is);
Now we are compiling the source code of Xulrunner to debug.
Please let us know is there any other way for easy debug the Open call ?
Thanks in Advance.
On Wednesday, December 4, 2013 3:43:39 PM UTC+5:30, Neil wrote:
> [email protected] wrote:
>
>
>
> >Is there any idea why in Open() call is blocked ?
>
> >
>
> >
>
> You didn't give any information about the channel that you were trying
>
> to open, but in general you should always use AsyncOpen anyway.
>
>
>
> --
>
> Warning: May contain traces of nuts.