Commit Graph

531 Commits

Author SHA1 Message Date
"Chih-Kai (Patrick) Wang"
32389b8a47 Bug 950660: Part 4: Bridge TCPSocketChild to nr_socket r=bwc,jdm
Improve use of TCPSocket to track in-flight writes and suppress extra runnables
Adds lots of logging to nr_socket_buffered_stun.c
Rework mtransport code to use new TCPSocketChild interface
2015-01-05 15:49:50 +08:00
Nils Ohlmeier [:drno]
d73de1c065 Bug 1205421 - fix DNS resolution of STUN server in ice_unittest. r=bwc 2015-09-16 13:42:57 -07:00
Martin Thomson
e92c82005b Bug 1125292 - Sending ALPN header field for WebRTC calls, r=bwc 2015-09-15 10:28:34 -07:00
Byron Campen [:bwc]
b272da0efb Bug 1186590 - Part 2 - Move hard-coded interface priority list into nrinterfaceprioritizer, and simplify some functions. r=drno 2015-09-04 15:25:37 -05:00
Byron Campen [:bwc]
161f746ca2 Bug 1186590 - Part 1 - Enable interface prioritizer on all platforms. r=drno 2015-09-02 15:06:58 -05:00
Byron Campen [:bwc]
92e769ad78 Bug 1200763 - Remove hard-coded STUN IP address from ice_unittest, and do a DNS lookup instead. r=drno 2015-09-04 10:21:12 -05:00
Michael Froman
e5a6261ceb Bug 1008792 - Check for valid pointer before using. r=bwc 2015-09-01 11:52:43 -05:00
Byron Campen [:bwc]
6e40337826 Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno 2015-09-02 14:27:07 -05:00
Nils Ohlmeier [:drno]
738b65f581 Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc 2015-08-28 13:22:45 -07:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Nils Ohlmeier [:drno]
5bfe29f992 Bug 1142964 - Fix ICE tiebreaker on Windows. r=bwc 2015-08-21 10:35:28 -07:00
Nils Ohlmeier [:drno]
86ffea1d7c Bug 1194385 - Add new unit tests which demonstrate the current behavior. r=bwc 2015-08-13 12:05:40 -07:00
Nils Ohlmeier [:drno]
90a3950d0c Bug 1194019 - New defaults for gather tests. r=bwc 2015-08-14 14:52:06 -07:00
Nils Ohlmeier [:drno]
cf2b2a3775 Bug 1037618 - Relax candidate verification for TCP. r=bwc 2015-08-10 16:31:12 -07:00
Randell Jesup
facda89249 Bug 1189040: add a whitelist for network interfaces to use with ICE/webrtc r=ekr 2015-08-12 19:45:36 -04:00
EKR
08b6404747 Bug 1189041 - Add option to only gather addresses for default route. r=bwc 2015-08-12 10:53:15 -04:00
Jan-Ivar Bruaroey
fd310e2cd0 Bug 1187775 - skip host and reflexive ICE candidates if relay-only. r=bwc 2015-08-05 08:22:55 -04:00
Jan-Ivar Bruaroey
fc835152ee Bug 1187775 - Plumb RTCConfiguration.iceTransportPolicy down to NrIceCtx. r=smaug, r=bwc 2015-07-30 10:11:52 -04:00
Nils Ohlmeier [:drno]
b447c7bb42 Bug 1189961 - added DNS AAAA convertion to nICEr transport addr. r=bwc 2015-07-31 18:18:02 -07:00
Nils Ohlmeier [:drno]
babb947cb3 Bug 1190720 - only check IP version for STUN server IPs. r=bwc 2015-08-03 23:38:36 -07:00
Nils Ohlmeier [:drno]
a1ebb7cb9b Bug 1190615 - Skip non-UDP STUN servers for UDP sockets. r=bwc
CLOSED TREE
2015-08-03 16:26:20 -07:00
EKR
941f84ef68 Bug 1178349 - Enable ice_unittests on desktop linux on CI. r=bwc
CLOSED TREE
2015-08-04 06:07:55 -07:00
Ryan VanderMeulen
ab5d403c27 Backed out changeset 62561970f611 (bug 1178349) for Android crashes.
CLOSED TREE
2015-08-03 15:34:17 -04:00
EKR
d0571a6cb5 Bug 1178349 - Re-enable ice_unittest on Linux. r=drno 2015-08-01 07:22:12 -07:00
EKR
555d75a25e Bug 1177921 - Fix typo in STUN server name. r=drno 2015-08-01 06:03:35 -07:00
Nils Ohlmeier [:drno]
230e7cef07 Bug 1189198 - don't start STUN transactions with a protocol mis-match. r=mtseng 2015-07-31 11:23:26 -07:00
Makoto Kato
e92450872e Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Nils Ohlmeier [:drno]
db75795000 Bug 1187472 - only log UDP and TCP candidate gathering failures. r=bwc 2015-07-24 14:01:11 -07:00
Jessica Jong
2f99cbb771 Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
Wes Kocher
cdd5dfef2b Merge b2ginbound to central, a=merge 2015-07-24 13:47:05 -07:00
Nils Ohlmeier [:drno]
260c126a69 Bug 1186339 - skip STUN/TURN servers with non-matching IP versions for TCP sockets. r=bwc 2015-07-22 10:54:11 -07:00
Nils Ohlmeier [:drno]
42a62dacab Bug 1185198 - use port 9 for TCP active candidates. r=bwc 2015-07-22 16:51:38 -07:00
Jessica Jong
23c7232da8 Bug 1185802 - Part 2: support fota apn type (impl). r=hsinyi 2015-07-24 10:41:15 +08:00
Nils Ohlmeier [:drno]
33d5d98aef Bug 1183985: Fixed WebRTC socket leak on Linux. r=bwc 2015-07-15 00:19:47 -07:00
Martin Thomson
7c6754946d Bug 1184226 - Suppressing received packets when disabled, r=ekr 2015-07-15 13:03:01 -07:00
Martin Thomson
a363dc17b7 Bug 1184226 - Disabling write on shutdown, r=ekr 2015-07-15 12:23:10 -07:00
Martin Thomson
db905d5bf6 Bug 1184226 - Updating transportlayerdtls logging levels, r=ekr 2015-07-15 12:23:10 -07:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Randell Jesup
37ad9bc8b6 Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Martin Thomson
fd71e66b19 Bug 1172785 - Switch to ECDSA for MTI suites, r=ekr 2015-07-06 10:40:04 -07:00
Martin Thomson
8bdc9eeda2 Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr 2015-07-06 10:40:04 -07:00
Byron Campen [:bwc]
d4479dcb0c Bug 1180311 - Add null check to ifa_addr. r=ekr 2015-07-03 14:10:16 -07:00
Juan Gomez
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Byron Campen [:bwc]
4965ecc09e Bug 797262 - IPV6 support for webrtc. r=drno 2015-04-22 15:02:50 -05:00
Byron Campen [:bwc]
9c2cb58d74 Bug 980609: Do not assert that TURN TCP client contexts can't fail before attempting to allocate. r=ekr 2014-03-07 15:29:09 -08:00
Byron Campen [:bwc]
06c837e8fb Bug 971357: Log STUN responses at INFO instead of DEBUG. r=ekr 2014-02-11 17:27:45 -08:00
Byron Campen [:bwc]
4536d156cf Bug 1035428: Re-register writeable callback after partially servicing the send queue. r=drno 2014-07-07 14:25:23 -07:00
Nathan Froyd
46d6f38e68 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Nathan Froyd
7646addfc2 Bug 1175621 - make WrapRunnable* more efficient by utilizing moves in wrapper functions; r=ekr
Calls to WrapRunnable* copy their arguments already; we don't need to
copy them a second time when constructing the actual runnable.  In
addition to making things more efficient, this change also permits calls
to WrapRunnable to correctly handle objects that can only be moved, and
not copied.
2015-06-17 10:52:48 -04:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00