Closed Bug 58655 Opened 24 years ago Closed 24 years ago

nsSyncHelper uses a native event queue

Categories

(Core :: Networking: HTTP, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: dmosedale, Assigned: darin.moz)

References

()

Details

Attachments

(1 file)

According to dougt, this should be a monitored event queue.
I'm just wondering... do we have an instance where this is getting us into
trouble?
Assignee: gagan → darin
Status: NEW → ASSIGNED
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.
Understood... can you point me to an example that uses monitored event queues.
I'd like understand what exactly needs to change.
Doug, is this just as simple as replacing CreateThreadEventQueue() with
CreateMonitoredThreadEventQueue()?
--darin
yes.  and lots of testing.  :-)
Target Milestone: --- → Future
This seems potentially fairly dangerous; nominating for mozilla0.9.
Keywords: mozilla0.9
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).
I meant to say that synchronous HTTP is _NOT_ heavily used in mozilla.
Component: Networking → Networking: HTTP
Blocks: 61697
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
nominating for moz 0.9
Target Milestone: Future → mozilla0.9
looks good.  I am shocked that this didn't cause more problems.  r=doug.

please ci after I land my branch/.
only causes problems if there are other threads touching HTTP.
sr=mscott
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: