Open
Bug 1167039
Opened 10 years ago
Updated 2 years ago
Move all uses of UDPSocket to PBackground
Categories
(Core :: Networking, defect, P3)
Core
Networking
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox41 | --- | affected |
People
(Reporter: jesup, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: perf, Whiteboard: [necko-backlog])
UDPSocket currently uses PNecko, which means that all traffic touches MainThread. This can be hugely delay-inducing, such as when I saw 3-second+ RTT for a loopback webrtc call (because MainThread on B2G was busy).
It should use PBackground. mtransport (i.e. webrtc) is moving to PBackground in bug 1109338. That includes much of the work needed to move other uses of UDPSocket to PBackground; the only bit left would be to extend the non-NULL PrincipalInfo support using the WIP patch I'll attach here. The remaining part of that is to block Bind from completing until Principal checks have completed.
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 1•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 2•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 3•6 years ago
|
||
When we do this, we should validate that the principal supplied is valid for the content process it comes from.
Depends on: fission-ipc-map
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•