http://lxr.mozilla.org/seamonkey/source/profile/Acct/nsAccount.cpp#368 shows a line using the channel->OpenInputStream() api. The result is that the user is handed an input stream to read data from. The inputStream->Read() call is a blocking call and can/will block the thread it's called on. If this steam is guaranteed to be read from a thread other than the UI thread, evaluate whether or not the blocking behavior is ok, and if so, close this bug. Otherwise, your code need to do an asynchronous load of the URI. If you don't want to implement nsIStreamListener, please look at nsIStreamLoader.idl which will call a callback function you implement when all the data has arrived (it does all the asyncronous work for you).
This module is currently not used in seamonkey and was part of the dialup effort on windows for the browser. I will mark it M18 so that when do this part it will be redone with this bug in mind.
Status: NEW → ASSIGNED
Target Milestone: M18
This bug has not been touched for more than nine months. In most cases, that means it has "slipped through the net". Please could the owner take a moment to add a comment to the bug with current status, and/or close it. Thank you :-) Gerv
Closing Bug. This module is not used in seamonkey and was part of the dialup effort on windows for the browser.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.