Closed
Bug 961313
Opened 12 years ago
Closed 12 years ago
Add transport indicator to TURN logs
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: drno, Assigned: bwc)
Details
Attachments
(1 file, 3 obsolete files)
|
4.58 KB,
patch
|
abr
:
review+
|
Details | Diff | Splinter Review |
Right now the debug output from nICEr for TURN contains no indication if messages were send or received via UDP or TCP. This makes it very hard to debug network problems without an additional network trace.
Please add indication to the nICEr log messages if TURN messages were send or received via UDP or TCP.
| Reporter | ||
Updated•12 years ago
|
Assignee: nobody → docfaraday
| Assignee | ||
Comment 1•12 years ago
|
||
This should fix the problem, and numerous similar problems. It also fixes a bug where the label (and codeword) for a candidate will be the same regardless of transport protocol, which can lead to duplicates very easily.
| Assignee | ||
Updated•12 years ago
|
Attachment #8363940 -
Flags: review?(adam)
| Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 8363940 [details] [diff] [review]
Add the transport protocol to candidate labels.
Review of attachment 8363940 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm. Minor style nit inline.
::: media/mtransport/third_party/nICEr/src/net/transport_addr.c
@@ +58,5 @@
> /* Max length for normalized IPv6 address string represntation is 39 */
> char buffer[40];
> + const char *protocol;
> +
> + switch (addr->protocol) {
Local style appears to omit the space before the brace.
Attachment #8363940 -
Flags: review?(adam) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Nit fix.
| Assignee | ||
Updated•12 years ago
|
Attachment #8363940 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 8364056 [details] [diff] [review]
Add the transport protocol to candidate labels.
Review of attachment 8364056 [details] [diff] [review]:
-----------------------------------------------------------------
Carry forward r=abr
Attachment #8364056 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Backed out for buffered_stun_socket_unittest crashes.
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb68c3689b36
https://tbpl.mozilla.org/php/getParsedLog.php?id=33463800&tree=Mozilla-Inbound
| Assignee | ||
Comment 8•12 years ago
|
||
Now how did this pass try I wonder...
| Assignee | ||
Comment 9•12 years ago
|
||
Looks like I need to be running talos. My bad. I think I know the cause, trying a patch now.
https://tbpl.mozilla.org/?tree=Try&rev=b9b482c6c090
| Assignee | ||
Comment 10•12 years ago
|
||
Needinfoing to remind myself to check back on some rebuilds on my try push.
Flags: needinfo?(docfaraday)
| Assignee | ||
Updated•12 years ago
|
Flags: needinfo?(docfaraday)
Keywords: checkin-needed
Comment 11•12 years ago
|
||
Keywords: checkin-needed
Comment 12•12 years ago
|
||
Backed out for the same crashes as last time.
https://hg.mozilla.org/integration/mozilla-inbound/rev/02118ca19721
https://tbpl.mozilla.org/php/getParsedLog.php?id=33627983&tree=Mozilla-Inbound
Comment 13•12 years ago
|
||
FWIW, there's not an easy way to run cpp unit tests on Try at the moment (-u all is the only way I know of at the moment), but given that it crashes on all platforms, I would think you could try to reproduce this locally too.
| Assignee | ||
Comment 14•12 years ago
|
||
It looks like either bzexport crapped out without me noticing, or I just forgot to attach the new patch. Give me a sec.
| Assignee | ||
Comment 15•12 years ago
|
||
Fix printf width bug that causes a crash.
| Assignee | ||
Updated•12 years ago
|
Attachment #8364056 -
Attachment is obsolete: true
| Assignee | ||
Comment 16•12 years ago
|
||
Comment on attachment 8365990 [details] [diff] [review]
Add the transport protocol to candidate labels.
Review of attachment 8365990 [details] [diff] [review]:
-----------------------------------------------------------------
Carry forward r+.
Attachment #8365990 -
Flags: review+
| Assignee | ||
Comment 17•12 years ago
|
||
| Assignee | ||
Comment 18•12 years ago
|
||
Looks like we're tripping over bugs elsewhere in the code. Trying to fix.
| Assignee | ||
Comment 19•12 years ago
|
||
Fix a bug where an IP version was being passed instead of a protocol, and a bug where a failure in nr_transport_addr_fmt_addr_string would cause a null pointer dereference later.
| Assignee | ||
Updated•12 years ago
|
Attachment #8365990 -
Attachment is obsolete: true
| Assignee | ||
Comment 20•12 years ago
|
||
| Assignee | ||
Comment 21•12 years ago
|
||
Comment on attachment 8366103 [details] [diff] [review]
Add the transport protocol to candidate labels.
Review of attachment 8366103 [details] [diff] [review]:
-----------------------------------------------------------------
Some fixes that need review.
Attachment #8366103 -
Flags: review?(adam)
| Assignee | ||
Comment 22•12 years ago
|
||
Comment 23•12 years ago
|
||
Comment on attachment 8366103 [details] [diff] [review]
Add the transport protocol to candidate labels.
Review of attachment 8366103 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm
Attachment #8366103 -
Flags: review?(adam) → review+
| Assignee | ||
Comment 24•12 years ago
|
||
Pushing to try again, since the previous one must have generated some broken stuff.
https://tbpl.mozilla.org/?tree=Try&rev=440b0ebc10e3
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 25•12 years ago
|
||
Keywords: checkin-needed
Comment 26•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•