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.
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to