Closed
Bug 58655
Opened 24 years ago
Closed 24 years ago
nsSyncHelper uses a native event queue
Categories
(Core :: Networking: HTTP, defect, P3)
Core
Networking: HTTP
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: dmosedale, Assigned: darin.moz)
References
()
Details
Attachments
(1 file)
655 bytes,
patch
|
Details | Diff | Splinter Review |
According to dougt, this should be a monitored event queue.
Assignee | ||
Comment 1•24 years ago
|
||
I'm just wondering... do we have an instance where this is getting us into trouble?
Assignee: gagan → darin
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 2•24 years ago
|
||
It would be a hard thing to identify user level problems caused by this bug in http. gagan, this is another place where messages could become out of sync.
Assignee | ||
Comment 3•24 years ago
|
||
Understood... can you point me to an example that uses monitored event queues. I'd like understand what exactly needs to change.
Assignee | ||
Comment 4•24 years ago
|
||
Doug, is this just as simple as replacing CreateThreadEventQueue() with CreateMonitoredThreadEventQueue()? --darin
Comment 5•24 years ago
|
||
yes. and lots of testing. :-)
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → Future
Reporter | ||
Comment 6•24 years ago
|
||
This seems potentially fairly dangerous; nominating for mozilla0.9.
Keywords: mozilla0.9
Assignee | ||
Comment 7•24 years ago
|
||
In the grand scheme of things nsSyncHelper is going away in favor of a true synchronous HTTP implementation. My feeling on this bug is therefore to just leave it for now, and wait for the better solution. However, I'd like to know if people feel that this should still be "fixed" at least for the time being. AFAIK, synchronous HTTP is heavily used (at least not in mozilla).
Assignee | ||
Comment 8•24 years ago
|
||
I meant to say that synchronous HTTP is _NOT_ heavily used in mozilla.
Component: Networking → Networking: HTTP
Assignee | ||
Comment 9•24 years ago
|
||
ok.. it looks like the new sync http impl is not going to happen for a while, so i'm going to go ahead and patch up the existing impl. adding dependency on bug 59434.
Depends on: 59434
Assignee | ||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
looks good. I am shocked that this didn't cause more problems. r=doug. please ci after I land my branch/.
Assignee | ||
Comment 13•24 years ago
|
||
only causes problems if there are other threads touching HTTP.
Comment 14•24 years ago
|
||
sr=mscott
Assignee | ||
Comment 15•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•