Commit Graph

367 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
2048be3f64 Bug 980270 - Part 1: Plug a couple of common leaks in nICEr. r=drno 2014-03-06 14:43:15 -08:00
Anuj Agarwal
6d12620baf Bug 1028139 - DataBuffer should not be a refcounted class. r=jesup 2014-07-11 16:39:00 +02:00
Nils Ohlmeier [:drno]
4df013587a Bug 1034327 - fix memory leak when TURN client is used. r=bwc 2014-07-03 16:54:00 +02:00
Benoit Jacob
dc08dbb20e Bug 1028588 - Fix dangerous public destructors in media/mtransport - r=abr 2014-06-24 12:36:44 -04:00
Byron Campen [:bwc]
5571ac5825 Bug 1027938 - Bump max transmit count for ICE checks to 7. Also, adjust unit-tests. r=drno 2014-06-19 17:13:12 -07:00
Rishab Arora
0eec37db1a Bug 956525 - Replace 'Lower lower' in log messages with 'Lower layer'. r=abr 2014-01-20 07:38:00 -05:00
Benoit Jacob
5a3aa8f5da Bug 1027251 - Address review comments on mtransport - r=abr
(Sorry about that!)
2014-06-21 00:09:48 -04:00
Benoit Jacob
efe5bdffd5 Bug 1027251 - Fix or whitelist dangerous public destructors in media/mtransport - r=abr 2014-06-20 07:08:24 -04:00
EKR
5986c65e5c Bug 1009227. Unit test for fix for DTLS connection establishment failure. r=mt 2014-06-17 14:30:28 -07:00
Jan Beich
636b64db51 Bug 1024510 - Unbreak --with-system-nss build after bug 1022812. r=mshal 2014-06-16 01:02:25 -04:00
Byron Campen [:bwc]
4a0a0e70ca Bug 1017332 - Part 1: Dump the r_log ringbuffer on all ICE failures. r=ekr, r=jesup 2014-06-12 17:22:00 -07:00
Byron Campen [:bwc]
1f7eeb76d8 Bug 1008796 - Fix return value in nr_ice_component_stun_server_default_cb. r=ekr 2014-06-10 10:45:01 -07:00
Byron Campen [:bwc]
881184c858 Bug 1022776 - Bump max transmit count by 1 and modify unit-tests to compensate. r=ekr 2014-06-09 17:31:44 -07:00
EKR
a2a4a9a1bc Bug 1022812 - Link a debuggable version of NSS into media/mtransport. r=mt 2014-06-11 07:17:02 -07:00
Byron Campen [:bwc]
0a653f0e9c Bug 1004530 - Part 3: Unit test that verifies that new pairs will start when local gather happens after all preceding pairs have failed, provided the grace period has not elapsed. Also a couple more tests that use a new test-case feature. 2014-06-04 17:21:59 -07:00
Byron Campen [:bwc]
582d112d7e Bug 1004530 - Part 2: Unit test for verifying that local candidates gathered after the check timer has stopped are ultimately scheduled. 2014-06-03 10:56:54 -07:00
Byron Campen [:bwc]
e28d5a8b95 Bug 1004530 - Part 1: Allow a grace period for trickle candidates to arrive when all candidate pairs have failed. r=drno, r=ekr 2014-05-01 14:07:54 -07:00
Adam Roach [:abr]
04d763f9a3 Bug 1017755 - Make DTLS 'would have blocked' messages less aggressive r=jesup 2014-05-30 20:02:36 -05:00
Randell Jesup
79df25773b Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup 2014-05-29 17:05:14 -04:00
Byron Campen [:bwc]
865d18fb03 Bug 891551 - Part 2: (Upliftable) Fix bugs where PR_WOULD_BLOCK_ERROR (or, in some cases, PR_NOT_CONNECTED_ERROR while a TCP socket was connecting) would cause sockets to be abandoned for no good reason (see also bug 985493 and 1001671). r=bwc 2014-05-02 10:49:00 -07:00
Anders Lund
4fb3d4f35c Bug 942188 - Added parsing of ice-lite attribute and start ice checks as controlling if peer is ice-lite. r=abr 2014-05-16 01:32:00 -05:00
Jan Beich
0740628072 Bug 916589 - Rename __offsetof() to avoid conflict with platform-specific definition. r=docfaraday 2013-09-15 10:47:00 +02:00
EKR
b0ca419e1e Bug 1012999: When STUN global rate limit is exceeded, record this in telemetry. r=ekr 2014-05-19 19:16:38 -07:00
Peter Tatrai
f0723f9b3c Bug 891551 - Part 3: Fix bug where we weren't performing a null check in dtor for NrSocket (see also bug 987380). r=bwc 2014-05-02 10:50:00 -07:00
Byron Campen [:bwc]
c32065d176 Bug 891551 - Part 1: A couple of include-what-you-use fixes to the pre-existing code. r=ekr 2014-04-01 13:13:59 -07:00
Nathan Froyd
84fe2fd3b7 Bug 968803 - part 2 - statically type runnable classes that return a result; r=ekr 2014-02-06 10:21:55 -05:00
Nathan Froyd
a994e7598e Bug 968803 - part 1 - factor out class naming into its own function; r=ekr 2014-02-05 16:17:02 -05:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Byron Campen [:bwc]
43e6a498e7 Bug 1000858: Fix r_gettimeint on win32 which prevented us from sending TURN allocations r=ekr 2014-04-24 16:56:00 -07:00
Byron Campen [:bwc]
f4e4f8cb6b Bug 987942 - Check whether PK11_CreateContextBySymKey returns null. r=ekr 2014-04-01 14:30:58 -07:00
Edgar Chen
2fc8f9200b Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Jessica Jong
6552af2779 Bug 984327 - Part 1: Include dun apn type in isNetworkTypeSecondaryMobile(...) and elsewhere. r=vicamo 2014-03-19 08:39:00 -04:00
Nils Ohlmeier [:drno]
bc5397115e Bug 966569 - Improve the the log messages in case the internal TURN TCP buffer over flow. r=bwc 2014-03-18 08:39:54 -04:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Byron Campen [:bwc]
61fa945539 Bug 966564 - Make logging more clear when processing an unwrapped indication. r=drno 2014-03-12 10:21:48 -07:00
Chris Peterson
eb44b1f66e Bug 980810 - Part 3: Fix clang -Wstring-conversion warnings in UDPSocket and mtransport code. r=bwc 2014-03-07 22:57:15 -08:00
Byron Campen [:bwc]
964dc99bb7 Bug 786234 - Part 3: Plumbing for filtration, and bundle usage detection. r=abr 2014-01-14 16:29:42 -08:00
Wes Kocher
b5db6f03fa Merge inbound to m-c 2014-02-24 17:45:16 -08:00
Patrick Wang (Chih-Kai Wang)
ef6afd5a92 Bug 969469: use SyncRunnable to get local interface information on gonk. r=bwc 2014-02-18 14:44:45 +08:00
Adam Roach [:abr]
f17dbb14ab Backed out changeset c5334aea6433 (bug 786234) 2014-02-24 12:29:10 -06:00
Alex Xu
dfa9abb426 Bug 967006 - Fix Clang build failure in nICEr. r=abr 2014-02-24 10:09:55 -05:00
Nils Ohlmeier [:drno]
b7ea253545 Bug 972592 - Make ICE 400 response strings more verbose for easier debugging. r=bwc 2014-02-18 09:58:25 -05:00
Byron Campen [:bwc]
8c4cea2760 Bug 786234 - Part 3: Plumbing for filtration and bundle usage detection. r=abr 2014-01-14 16:29:42 -08:00
Ehsan Akhgari
ddc6613b8e Bug 973395 - Move the LOCAL_INCLUDES in media to moz.build; r=glandium 2014-02-18 01:15:48 -05:00
Ms2ger
6e066deaea Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
EKR
62b42b7427 Bug 970569 - Fix crasher introduced by bug 928930. r=bwc 2014-02-10 14:45:42 -08:00
Byron Campen [:bwc]
9f5ebeb6ea Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-27 10:35:17 -08:00
Nathan Froyd
4af2623008 Bug 928930 - don't define std::string variables in nricectx.h; r=ekr 2014-01-27 11:02:51 -05:00
Ryan VanderMeulen
f22a8b79ea Backed out changeset ce887b471785 (bug 961313) for buffered_stun_socket_unittest crashes, again. 2014-01-27 09:41:48 -05:00
Byron Campen [:bwc]
2bee0325a6 Bug 962371 - Part 2: Remove some magic constants. r=abr 2014-01-23 11:00:32 -08:00
Byron Campen [:bwc]
c1752a8ad0 Bug 962371 - Part 1: Make priority for TCP relayed candidates lower than UDP relayed candidates. r=abr 2014-01-22 14:13:43 -08:00
Byron Campen [:bwc]
fec16a3224 Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-22 16:50:52 -08:00
Byron Campen [:bwc]
c34d2cbbba Bug 957800 - Make codeword longer to avoid collisions. r=abr 2014-01-10 15:57:15 -08:00
Nils Ohlmeier [:drno]
29faae8931 Bug 962896 - Add source address to STUN logging. r=bwc 2014-01-24 08:43:22 -05:00
Adam Roach [:abr]
3c0eab9979 Bug 930481: Improved failure instrumentation for transport layers r=ekr 2014-01-23 14:21:24 -06:00
Ryan VanderMeulen
b9773bcdeb Backed out changeset 0b2f7df3aada (bug 961313) for buffered_stun_socket_unittest crashes.
CLOSED TREE
2014-01-23 11:23:14 -05:00
Byron Campen [:bwc]
83be00efcc Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-22 16:50:52 -08:00
EKR
a5be4c554b Bug 960296 - Update buffered stun socket size when flushes happen. r=abr 2014-01-16 08:29:00 -08:00
Byron Campen [:bwc]
206c5e3bb0 Bug 906990: Part 13. Get local/remote candidates separately, instead of grabbing them from candidate pairs (means we can get candidates before pairing happens). r=ekr 2013-11-13 13:49:33 -08:00
Ryan VanderMeulen
67393e427e Backed out changesets f04c846c7492, 9bc5c5a8554e, and a4f2af4617da (bug 906990) for WebRTC mochitest failures.
CLOSED TREE
2014-01-13 10:53:40 -05:00
Byron Campen [:bwc]
cd6184313e Bug 906990: Part 13. Get local/remote candidates separately, instead of grabbing them from candidate pairs (means we can get candidates before pairing happens). r=ekr 2013-11-13 13:49:33 -08:00
Byron Campen [:bwc]
886644ff8b Bug 957236 - Fix infinite loop on win32 when network interfaces contain a '.'. r=ekr 2014-01-09 09:11:35 -08:00
Byron Campen [:bwc]
8bc1bdbe36 Bug 950990 - NrIceCtx::ice_completed is fired even on failed contexts, so do not mark such contexts as completed. r=abr 2013-12-17 11:57:13 -08:00
Byron Campen [:bwc]
90ea8e63bb Bug 949708 - Dump RLogRingBuffer on test failures in ice_unittest. r=ekr 2014-01-03 13:36:37 -08:00
Adrian Cruceru
19925e3a08 Bug 923468 - Safety patch for race condition. r=ekr 2014-01-06 12:40:03 -05:00
Martin Thomson
1457296fd1 Bug 946348 - Refactor fingerprint handling. r=abr 2014-01-02 10:50:14 -05:00
Ehsan Akhgari
460de4dd98 Bug 940708 - Part 6: Exclude one more file for Linux ASAN builds
--HG--
extra : rebase_source : 95c28f6d4b32685bb291bff1085fb28915e2b1df
2013-12-20 13:27:50 -05:00
Ehsan Akhgari
9d77e6b741 Bug 940708 - Part 5: Exclude more files from unified builds because of name clashes on RCSSTRING; r=gps
--HG--
extra : rebase_source : 551ec846a9bd266a0ff42d2344cbae41ffeaf29f
2013-12-19 12:08:31 -05:00
Ehsan Akhgari
be7f1e698f Backed out 4 changesets (bug 940708) for ASAN bustage
Backed out changeset 8b081bf3d16c (bug 940708)
Backed out changeset 8d1da29cee34 (bug 940708)
Backed out changeset aedcac877ab0 (bug 940708)
Backed out changeset d4aec392a165 (bug 940708)

--HG--
extra : rebase_source : dec5c491a2233dfe7fe2153559e01313d3583a33
2013-12-20 13:05:29 -05:00
Ehsan Akhgari
6cce839186 Bug 940708 - Part 5: Exclude more files from unified builds because of name clashes on RCSSTRING; r=gps
--HG--
extra : rebase_source : c5df6642d1bca37ba49e5cdb82f5d48b21e2fa87
2013-12-19 12:08:31 -05:00
Byron Campen [:bwc]
0482db0bb6 Bug 942950: Avoid calling done_cb in the wrong order, or multiple times. r=ekr,abr 2013-12-12 13:58:02 -08:00
Ryan VanderMeulen
55b39e4c18 Backed out changeset cffe18264682 (bug 946348) for Windows bustage. 2013-12-19 12:37:46 -05:00
Martin Thomson
2338dfbe00 Bug 946348 - Refactoring fingerprint handling. r=abr 2013-12-19 11:42:19 -05:00
Mike Hommey
883bf3234f Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Ethan Hugg
2258657fc5 Bug 901560 - Datachannel no longer make second ICE component r=abr 2013-08-30 12:51:05 -07:00
Mike Hommey
25972646a7 Bug 778236 - Treat gyp files as if their content was defined in moz.build files. r=gps 2013-12-12 23:41:05 +09:00
Byron Campen [:bwc]
31ca790e8e Bug 906990 - Part 11: Fix bug where the |selected| field on a candidate pair statistic was never set. r=ekr 2013-11-08 16:45:39 -08:00
Byron Campen [:bwc]
2cf843a81a Bug 946733. Simplify turn client ctx lifecycle. r=ekr, martin 2013-12-05 16:08:54 -08:00
Byron Campen [:bwc]
d18d50cb70 Bug 938857. Don't prune candidates once pairing has started r=ekr,abr 2013-11-22 17:47:38 -08:00
EKR
581ab6a60e Bug 906968 - Add support for TURN TCP. r=abr
--HG--
rename : media/mtransport/third_party/nICEr/src/stun/nr_socket_turn.h => media/mtransport/third_party/nICEr/src/stun/nr_socket_buffered_stun.h
2013-12-06 10:20:19 -08:00
Byron Campen [:bwc]
c9afbaa42d Bug 942940 - Fix a potential memory leak. r=abr 2013-12-03 16:11:29 -08:00
Byron Campen [:bwc]
780166e6b8 Bug 942940 - Fix bug where a destroyed peerreflexive candidate could be left in the component list if candidate pair creation/insertion failed for some reason. r=abr 2013-11-25 10:37:21 -08:00
Masatoshi Kimura
1a193bc2f1 Bug 896704 - Remove the MSVC exemption for FAIL_ON_WARNINGS in media/mtransport. r=abr 2013-12-05 21:41:04 +09:00
Byron Campen [:bwc]
66569b240b Bug 942958 - Fix bug where a failure to populate the foundation of a peerreflexive candidate would result in an incorrect error return from nr_ice_peer_peer_rflx_candidate_create. r=ekr 2013-11-25 13:13:05 -08:00
Mike Hommey
dac5b53f4f Bug 944634 - mozmake.py (for gyp) handling of escaping (or lack thereof) for defines is wrong. r=ted 2013-12-03 06:34:21 +09:00
Patrick Wang
33cfc29397 Bug 870660: Part 3: Test case. r=ekr 2013-11-30 00:16:37 +08:00
Patrick Wang
0ad48c580c Bug 870660: Part 2: Implement socket filter for STUN. r=ekr 2013-11-30 00:15:26 +08:00
Mike Hommey
fc98abb416 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
1b90f90106 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Byron Campen [:bwc]
9cadd5383f Bug 935723. Part 1. Decouple ICE state with ICE gathering state r=ekr,abr,jesup 2013-11-13 14:53:30 -08:00
ISHIKAWA, Chiaki
5cd1075cce Bug 942462 - Fix type in media/mtransport/logging.h. r=ekr 2013-11-25 09:23:45 -05:00
Ehsan Akhgari
f6c12be9e0 Mark the SOURCES variables in media/mtransport moz.build files as non-unifiable, no bug
DONTBUILD
2013-11-22 00:40:58 -05:00