damencho
e472f6ac1c
Fixes leak of file descriptors by not closing DatagramSockets.
...
The problem was reproduced with java7 and defining multiple ipv6 fake(not-operational) addresses to one of the interfaces and running for a while.
Fixes jitsi/jitsi-meet#1390 and fixes jitsi/jicofo#167 .
2017-05-10 15:06:15 -05:00
bgrozev
e099d4acbe
Merge pull request #113 from imont/harvest-timeout
...
Introduce harvesting timeout option
2017-05-08 11:22:29 -05:00
Romanas Sonkinas
969e363bc6
Introduce harvesting timeout option
2017-04-28 17:28:44 +01:00
bgrozev
dffdf0cbc8
Merge pull request #112 from jitsi/so-rcvbuf-public
...
ref: Makes the single port recv buffer sysprop public.
2017-04-20 10:31:47 -05:00
George Politis
f9eded5078
ref: Makes the single port recv buffer sysprop public.
2017-04-20 10:27:39 -05:00
Дамян Минков
b3c304146b
Merge pull request #97 from bgrozev/minor-changes
...
Minor changes: fixes typos and removes duplicated code
2017-04-11 10:58:47 -05:00
Дамян Минков
8cf47c00c2
Merge pull request #110 from bgrozev/fix-leaks
...
Fix leaks
2017-04-10 13:52:22 -05:00
Boris Grozev
a524e1b2c0
fix: Closes the MultiplexingDatagramSocket instances created by single-port UDP candidates.
2017-04-10 13:47:22 -05:00
Boris Grozev
5085b042bb
fix: Closes the MultiplexingDatagramSocket held by a Component.
2017-04-10 13:46:48 -05:00
bbaldino
3784d5681b
Merge pull request #107 from bgrozev/fix-101
...
Fix 101
2017-03-30 15:22:46 -07:00
bbaldino
3547d35e9b
Merge pull request #108 from bgrozev/update-docs
...
Update docs
2017-03-30 15:19:45 -07:00
bbaldino
7f3a3806ca
Merge pull request #105 from bgrozev/fix-100
...
fix: Removes an unused, broken and misnamed method. Fixes #100 .
2017-03-30 15:17:21 -07:00
Boris Grozev
bf0892e8d2
doc: Formatting changes.
2017-03-30 17:11:54 -05:00
Boris Grozev
36553e203a
doc: Adds documentation for setting the receive buffer size.
2017-03-30 17:10:23 -05:00
Boris Grozev
4847672519
ref: Removes an unused an buggy method.
...
port*2 can be outside the [min, max] range (if min > 0).
2017-03-29 14:21:10 -05:00
Boris Grozev
183e115cf2
fix: Fixes an incorrect port range computation ( #101 ).
2017-03-29 14:20:56 -05:00
bbaldino
47acf238bf
Merge pull request #106 from bgrozev/fix-102
...
fix: Fixes #102 (inexact port range validation).
2017-03-29 12:10:24 -07:00
Boris Grozev
9348af1624
fix: Fixes #102 (inexact port range validation).
2017-03-29 14:08:03 -05:00
Boris Grozev
02992ee8d1
fix: Removes an unused, broken and misnamed method. Fixes #100 .
2017-03-29 14:00:42 -05:00
Boris Grozev
7a78b72d5b
ref: Removes MuxServerSocketChannel#assertIsNotNull
...
Uses the equivalent Objects#requireNonNull instead.
2017-03-23 15:56:49 -05:00
Boris Grozev
6401fcd436
doc: Fixes typos
2017-03-22 13:56:55 -05:00
George Politis
77fe6973c4
Merge pull request #96 from bgrozev/mobility
...
Allows some form of mobility
2017-02-24 12:30:28 -06:00
Boris Grozev
6bfe2ac5e5
feat: Allows adding sockets to an Agent late,
...
after the Agent has completed/terminated.
2017-02-24 09:34:55 -06:00
Boris Grozev
0f86b8797f
feat: Handles pairs discovered late,
...
after the Agent has completed/terminated.
2017-02-24 09:31:23 -06:00
Дамян Минков
cefd964509
Merge pull request #94 from bgrozev/fix-fd-leak
...
fix: Propagates close() to the underlying DatagramSocket implementation
2017-01-11 13:34:54 -06:00
Boris Grozev
7c63d5202c
fix: Propagates close() to the underlying DatagramSocket implementation
...
fixing a leak of fd's while the the objects waiting to be finalized.
2017-01-11 12:30:33 -06:00
bbaldino
72d1b1441c
Merge pull request #93 from bgrozev/fix-local-prflx-candidates
...
fix: Fixes a failure to inherit the base's tcpType for peer-reflexing…
2017-01-10 16:22:42 -06:00
Boris Grozev
e1338126fe
fix: Fixes a failure to inherit the base's tcpType for peer-reflexing candidates.
2017-01-10 15:44:20 -06:00
bgrozev
2e4bf351fe
Merge pull request #92 from jitsi/networkutils-rfc2732
...
Networkutils rfc2732
2017-01-10 15:40:20 -06:00
Ingo Bauersachs
203ffbd92b
Add unit test for changed address parsing
2017-01-07 13:41:42 +01:00
Ingo Bauersachs
383002efe2
Handle RFC2732 IPv6 addresses ([::1] or [::1%1])
2017-01-07 13:31:04 +01:00
bbaldino
43e6e5359d
Merge pull request #90 from bgrozev/sctp-close-fix
...
fix: Fixes a failure to recognize consent
2016-12-21 14:59:07 -08:00
Boris Grozev
cf61003e5b
fix: Fixes a failure to recognize consent
...
confirmation for TCP pairs.
2016-12-21 16:09:32 -06:00
bbaldino
e300997924
Merge pull request #89 from bgrozev/tcp-fallback
...
Tcp fallback
2016-12-15 09:26:10 -08:00
Boris Grozev
0d769bb46d
fix: Makes the keep alive strategy final.
2016-12-15 11:15:31 -06:00
Boris Grozev
19e86e3bc9
Revert "fix: Only allow setting the keep-alive strategy before the Agent is started."
...
This reverts commit abec6b79e564961575b3372a2ead52053dd3a67e.
2016-12-15 11:07:26 -06:00
Boris Grozev
a1796c9bfb
style: Whitespace and braces.
2016-12-15 10:45:43 -06:00
Boris Grozev
abec6b79e5
fix: Only allow setting the keep-alive strategy before the Agent is started.
2016-12-15 10:44:57 -06:00
Boris Grozev
fe2b1a3239
style: Remove an unused import.
2016-12-13 16:26:19 -06:00
Boris Grozev
c46c1a2613
style: Remove unused imports.
2016-12-13 15:11:30 -06:00
Boris Grozev
5f554565b1
feat: Implements different strategies for
...
selecting the candidate pairs to be kept alive.
2016-12-13 15:11:15 -06:00
Boris Grozev
b340fa22f0
log: Reduce logging when a TCP socket is closed
...
by the remote peer.
2016-12-13 15:07:52 -06:00
bgrozev
1cd1128b89
Merge pull request #88 from bgrozev/merging
...
Virtual socket layer
2016-12-13 11:08:29 -06:00
Boris Grozev
9adab9094f
style: Fixes a typo.
2016-12-12 13:59:55 -06:00
Boris Grozev
7cac0e50a7
fix: Moves the initializedActive update to after
...
the actual call to initializeActive(). Synchronizes access.
2016-12-12 13:53:42 -06:00
Boris Grozev
6d6f4710e0
fix: Only initializes propertyName if needed.
2016-12-12 13:49:21 -06:00
Boris Grozev
9c8d22a5bd
fix: Uses a regular HashSet.
2016-12-12 13:34:54 -06:00
Boris Grozev
d0587e99e6
doc: Make it clear that a particular property name is used.
2016-12-09 10:07:06 -06:00
Boris Grozev
cb2856a8ae
log: Reduces logging.
2016-12-09 09:10:22 -06:00
Boris Grozev
75e8948f4b
log: Uses the parent Agent's log level.
2016-12-09 09:01:44 -06:00