Closed
Bug 901805
Opened 12 years ago
Closed 12 years ago
reporting network activity in nsUDPServerSocket
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: schien, Assigned: schien)
Details
Attachments
(1 file, 2 obsolete files)
1.25 KB,
patch
|
schien
:
review+
|
Details | Diff | Splinter Review |
The network activity notification only triggered by the traffic through nsSocketTransportService interfaces, however, nsUDPSocket uses NSPR directly. We'll need to invoke NetworkActivityMonitor::AttachIOLayer explicitly for the UDP socket.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → schien
Attachment #786202 -
Flags: feedback?(jduell.mcbugs)
Assignee | ||
Comment 2•12 years ago
|
||
Make sure PR_Sendto is invoked on STS thread because NetworkActivityMonitor will check the current thread.
Attachment #795880 -
Flags: review?(mcmanus)
Assignee | ||
Updated•12 years ago
|
Attachment #786202 -
Attachment description: WIP - use NetworkActivityMonitor as a proxy for accessing udp socket → Part 2 - use NetworkActivityMonitor as a proxy for accessing udp socket
Attachment #786202 -
Flags: feedback?(jduell.mcbugs) → review?(honzab.moz)
![]() |
||
Updated•12 years ago
|
Attachment #786202 -
Flags: review?(honzab.moz) → review+
Updated•12 years ago
|
Attachment #795880 -
Flags: review?(mcmanus) → review+
Assignee | ||
Comment 3•12 years ago
|
||
The patch part 2 is not depending on the modification for UDP socket e10s. I'm thinking we can directly check patch part 2 solely in this bug and merge the patch part 1 into the modification for UDP socket e10s in bug 869869.
Honza and Patrick, how do you think?
Flags: needinfo?(mcmanus)
Flags: needinfo?(honzab.moz)
![]() |
||
Comment 4•12 years ago
|
||
If that is simpler for you, then go ahead. It's clear bug 869869 should land soon (blocks other 3 bugs, at least). If postponing this bug will make landing that bug sooner, then it's a good thing to do.
Flags: needinfo?(honzab.moz)
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #786202 -
Attachment is obsolete: true
Attachment #795880 -
Attachment is obsolete: true
Attachment #805250 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Summary: reporting network activity in nsUDPSocket → reporting network activity in nsUDPServerSocket
Assignee | ||
Comment 6•12 years ago
|
||
I decide to make this bug independent from bug 869869.
No longer depends on: 869869
Updated•12 years ago
|
Flags: needinfo?(mcmanus)
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Keywords: checkin-needed
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•