Closed
Bug 26301
Opened 25 years ago
Closed 24 years ago
OpenInputStream produces a blocking stream.
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
M18
People
(Reporter: jud, Assigned: vparthas)
Details
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).
Reporter | ||
Comment 1•25 years ago
|
||
same here http://lxr.mozilla.org/seamonkey/source/profile/Acct/nsAccount.cpp#458
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
Comment 3•24 years ago
|
||
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
Closed: 24 years ago
Resolution: --- → WONTFIX
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•