Commit Graph

314 Commits

Author SHA1 Message Date
Ryan VanderMeulen
9d6a58fc58 Backed out changeset ce887b471785 (bug 961313) for buffered_stun_socket_unittest crashes, again. 2014-01-27 09:41:48 -05:00
Byron Campen [:bwc]
19bf172eb1 Bug 962371 - Part 2: Remove some magic constants. r=abr 2014-01-23 11:00:32 -08:00
Byron Campen [:bwc]
91b45ca5bf 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]
9610ec38b5 Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-22 16:50:52 -08:00
Byron Campen [:bwc]
459f0d4f18 Bug 957800 - Make codeword longer to avoid collisions. r=abr 2014-01-10 15:57:15 -08:00
Nils Ohlmeier [:drno]
542ee9745f Bug 962896 - Add source address to STUN logging. r=bwc 2014-01-24 08:43:22 -05:00
Adam Roach [:abr]
b4e6456431 Bug 930481: Improved failure instrumentation for transport layers r=ekr 2014-01-23 14:21:24 -06:00
Ryan VanderMeulen
0ac657796f 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]
681cf0665c Bug 961313 - Add the transport protocol to candidate labels. r=abr 2014-01-22 16:50:52 -08:00
EKR
ef991655fa Bug 960296 - Update buffered stun socket size when flushes happen. r=abr 2014-01-16 08:29:00 -08:00
Byron Campen [:bwc]
1492d9d112 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
1b31e70c16 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]
33fcba8628 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]
56a77d573a 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]
e3f7ef552b 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]
f49a130874 Bug 949708 - Dump RLogRingBuffer on test failures in ice_unittest. r=ekr 2014-01-03 13:36:37 -08:00
Adrian Cruceru
69a210f988 Bug 923468 - Safety patch for race condition. r=ekr 2014-01-06 12:40:03 -05:00
Martin Thomson
da6e334879 Bug 946348 - Refactor fingerprint handling. r=abr 2014-01-02 10:50:14 -05:00
Ehsan Akhgari
bf334b3b67 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
70ce666013 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
8c2572ef3c 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
082eae82f7 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]
fff87bba44 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
49b36e09e5 Backed out changeset cffe18264682 (bug 946348) for Windows bustage. 2013-12-19 12:37:46 -05:00
Martin Thomson
a93024f6ee Bug 946348 - Refactoring fingerprint handling. r=abr 2013-12-19 11:42:19 -05:00
Mike Hommey
34b94bf852 Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Ethan Hugg
14d4d00983 Bug 901560 - Datachannel no longer make second ICE component r=abr 2013-08-30 12:51:05 -07:00
Mike Hommey
4b94156b00 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]
eb15cf3a79 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]
49fe9e83ae Bug 946733. Simplify turn client ctx lifecycle. r=ekr, martin 2013-12-05 16:08:54 -08:00
Byron Campen [:bwc]
7dbc4de777 Bug 938857. Don't prune candidates once pairing has started r=ekr,abr 2013-11-22 17:47:38 -08:00
EKR
b4adc04af8 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]
cceea54e97 Bug 942940 - Fix a potential memory leak. r=abr 2013-12-03 16:11:29 -08:00
Byron Campen [:bwc]
b02e37f95b 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
f7e7675bee 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]
f844cfd9c4 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
206b516fca 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
4b96d498aa Bug 870660: Part 3: Test case. r=ekr 2013-11-30 00:16:37 +08:00
Patrick Wang
cbe62eebb1 Bug 870660: Part 2: Implement socket filter for STUN. r=ekr 2013-11-30 00:15:26 +08:00
Mike Hommey
a1486ce449 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
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 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
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
0a1fb8d11c 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]
67f0c411ba 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
e808c2e6f7 Bug 942462 - Fix type in media/mtransport/logging.h. r=ekr 2013-11-25 09:23:45 -05:00
Ehsan Akhgari
cf77fb2e39 Mark the SOURCES variables in media/mtransport moz.build files as non-unifiable, no bug
DONTBUILD
2013-11-22 00:40:58 -05:00
EKR
d63f28c1f9 Bug 940709 - Upgrade ICE state change log level. r=bwc 2013-11-19 16:06:08 -08:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Byron Campen [:bwc]
a21f4cb93b Bug 906384 - Very simple global rate-limiting based on SimpleTokenBucket. Will tolerate a maximum of 8K/sec over 1 sec, and 3.6K/sec over 20 sec. r=ekr 2013-11-17 08:27:44 -08:00
Byron Campen [:bwc]
bd4d500bd5 Bug 906990: Part 9. Add correlator for ICE candidates. r=ekr 2013-10-25 16:47:14 -07:00
Shih-Chiang Chien
32ecc31c85 Bug 869869 - Part 3, add an IPC implementation of NrSocket, r=ekr. 2013-06-19 19:08:06 +08:00
Jonas Finnemann Jensen
41edf8980c Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Byron Campen [:bwc]
6a296679dc Bug 934317: Mutex-protect the RLogRingBuffer, since more than one thread is using it. r=jesup 2013-11-04 15:39:51 -08:00
Byron Campen [:bwc]
9637af002c Bug 906990 - Part 6: Add a codeword field to NrIceCandidatePair so related logging can be pulled from RLogRingBuffer. Proof of concept in ice_unittest. r=ekr 2013-10-24 11:45:10 -07:00
Byron Campen [:bwc]
5e9a1e0da7 Bug 906990 - Part 5.1: Enable r_log and RLogRingBuffer so logging can be scraped. Also, tweak log levels so the RLogRingBuffer isn't rapidly overwritten by media packet logging. r=ekr 2013-10-29 11:53:44 -07:00
Byron Campen [:bwc]
738d512d1c Bug 906990 - Part 5: Allow logging related to a given candidate pair to be fetched. r=ekr 2013-10-29 10:45:09 -07:00
Jan-Ivar Bruaroey
3bcdac384b Bug 932420: sigslot.h - #ifdef'ed out unused multi-threading to avoid windows.h, r=jesup 2013-10-29 19:49:34 -04:00
Ethan Hugg
df44475475 Bug 901560 - Backout of compatibility-breaking datachannel ice component fix r=jesup 2013-10-29 08:52:04 -07:00
Byron Campen [:bwc]
0f1fb3b85f Bug 931186 - Dirt simple token bucket class. r=ekr 2013-10-25 15:15:59 -07:00
Gregory Szorc
9bd5fc0064 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Phil Ringnalda
3cfef7fef6 Back out 1cbb486b4fb7:8e3a17767287 (bug 906990) for leaks
CLOSED TREE
2013-10-28 15:30:11 -07:00
Byron Campen [:bwc]
a562097627 Bug 906990 - Part 11. Enable r_log and RLogRingBuffer so logging can be scraped. Also, tweak log levels so the RLogRingBuffer isn't rapidly overwritten by media packet logging. r=ekr 2013-10-24 11:47:16 -07:00
Byron Campen [:bwc]
a9ae2734ef Bug 906990 - Part 6: Add a codeword field to NrIceCandidatePair so related logging can be pulled from RLogRingBuffer. Proof of concept in ice_unittest. r=ekr 2013-10-24 11:45:10 -07:00
Byron Campen [:bwc]
a92563d94f Bug 906990 - Part 5: Allow logging related to a given candidate pair to be fetched. r=ekr 2013-10-24 11:52:01 -07:00
Ted Mielczarek
673fd74516 Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Ed Morley
019abea10a Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Cykesiopka
d2f6b7333c Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Jonas Finnemann Jensen
ef343c0f14 Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Byron Campen [:bwc]
f42c4d1763 Bug 906990 - Part 4: Using more appropriate log-levels (r_log) for errors and other not-quite-right conditions. r=ekr 2013-10-14 10:55:50 -07:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Byron Campen [:bwc]
102c9c0f8c Bug 929793 - Fix =/== typo. r=ekr 2013-10-22 16:52:10 -07:00
Jan-Ivar Bruaroey
f3fa9857d3 Bug 928060: Parse ?transport=[udp|tcp] in TURN uri. r=ehsan 2013-10-18 18:14:21 -04:00
Byron Campen [:bwc]
5e301876aa Bug 906990 - Part 3: Make it easier to filter out logging related to a given candidate pair r=ekr 2013-10-14 10:00:41 -07:00
Byron Campen [:bwc]
da87dd7773 Bug 925361 - TestStunServer will retry opening its listen socket by incrementing the port, to a maximum of 10 times. r=ekr 2013-10-10 11:30:38 -07:00
EKR
377b61be5f Bug 925337 - Make TestStunServer dtor safe if listen_sock_ is null. r=abr 2013-10-10 07:08:18 -07:00
Byron Campen [:bwc]
2c929c882f Bug 842549 - Part 4: Small fix from ekr to disarm the trickle_cb when the ICE ctx is destroyed. r=abr 2013-09-19 16:08:28 -07:00
EKR
9ced8f191b Bug 842549 - Part 1: Generate trickle candidates from nICEr, with testing r=abr 2013-09-19 09:17:52 -07:00
Byron Campen [:bwc]
a47a43d40b Bug 918095 - Fix bug where stun requests/responses would be leaked if no callbacks were registered (eg; test cases) r=abr 2013-09-18 14:51:53 -07:00
Ethan Hugg
dd1d75c75d Bug 901560 - Datachannel no longer make second ICE component r=abr 2013-08-30 12:51:05 -07:00
Phil Ringnalda
98e3007fb4 Backed out 4 changesets (bug 842549) for assertions
CLOSED TREE

Backed out changeset 9f2d0e38fdf8 (bug 842549)
Backed out changeset f6941e490ba2 (bug 842549)
Backed out changeset c3444536fd8e (bug 842549)
Backed out changeset 2af2bfe5e66a (bug 842549)
2013-09-19 19:53:33 -07:00
Byron Campen [:bwc]
08a79183b5 Bug 842549 - Part 4. Small fix from ekr to disarm the trickle_cb when the ICE ctx is destroyed. r=abr 2013-09-19 16:08:28 -07:00
EKR
42a2151002 Bug 842549 - Part 1. Generate trickle candidates from nICEr, with testing r=abr 2013-09-19 09:17:52 -07:00
Byron Campen [:bwc]
0e6a4ca6b9 Bug 916187. Part 3. Double checking for leaks in new test stun server code, and fixing other things as I see them. r=abr 2013-09-18 12:54:38 -07:00
Byron Campen [:bwc]
451b545bef Bug 916187. Part 2. Using the test stun server, write some tests to exercise the checking logic written in 908740. r=abr 2013-09-18 12:36:13 -07:00
EKR
95d889911d Bug 916187. Part 1. Cleanup of trickle candidates and a test STUN server r=abr 2013-09-13 10:11:44 -07:00
Benoit Jacob
ef57b5655b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
de3dfc4a8e Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
1b7e3c520e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Byron Campen [:bwc]
ebcccba584 Bug 906990 - Some basic testing of GetCandidatePairs r=ekr 2013-09-16 11:03:18 -07:00
Byron Campen [:bwc]
5e217066fa Bug 906990 - Adding a bulk getter for the current state of all ICE candidate pairs(plus a little testing). r=ekr 2013-09-09 10:19:01 -07:00
Brian O'Keefe
916782e929 Bug 865673 - Convert objs.mk to objs.mozbuild. r=gps 2013-08-30 09:09:06 -04:00
Eric Rescorla
ad0a9b13e9 Bug 915420 - Use foundation address instead of relay address to determine priority r=bwc 2013-09-11 15:43:09 -07:00
Byron Campen [:bwc]
a18ed0a113 Bug 908740 - Reject obviously bogus STUN and TURN candidates. r=ekr 2013-09-10 11:33:19 -07:00
Adam Roach [:abr]
497dee31d9 Bug 906843 - Shorten sleep period for ASSERT_TRUE_WAIT from 200ms to 10ms; change traffic checks to count packets rather than wait 10 seconds r=ekr 2013-09-05 17:11:37 -05:00
Ethan Hugg
8096785029 Bug 909179 - Fix warning from previous patch CLOSED TREE 2013-09-05 14:57:58 -07:00