nsIChannel.Open is blocked in linux
neel patel <[email protected]> Tue, 7 Jan 2014 03:31:52 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Below code is getting hanged in linux and it is in blocking state. 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); ios - "@mozilla.org/network/io-service;1" nsURi -- will be path of the URL to be opened like "/home/abcd.php". 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.