Each peer now tracks the last time it announced multicast LIKEs independently and does so frequently enough to prevent expires. Also add a multicast debug facility for use on the testnet.
This commit is contained in:
parent
1a76455986
commit
3443b203e4
10 changed files with 106 additions and 41 deletions
|
@ -250,19 +250,10 @@ error_no_ZT_ARCH_defined;
|
|||
*/
|
||||
#define ZT_MULTICAST_GLOBAL_MAX_DEPTH 500
|
||||
|
||||
/**
|
||||
* Period between announcements of all multicast 'likes' in ms
|
||||
*
|
||||
* Announcement occurs when a multicast group is locally joined, but all
|
||||
* memberships are periodically re-broadcast. If they're not they will
|
||||
* expire.
|
||||
*/
|
||||
#define ZT_MULTICAST_LIKE_ANNOUNCE_ALL_PERIOD 120000
|
||||
|
||||
/**
|
||||
* Expire time for multicast 'likes' in ms
|
||||
*/
|
||||
#define ZT_MULTICAST_LIKE_EXPIRE ((ZT_MULTICAST_LIKE_ANNOUNCE_ALL_PERIOD * 2) + 1000)
|
||||
#define ZT_MULTICAST_LIKE_EXPIRE 120000
|
||||
|
||||
/**
|
||||
* Time between polls of local taps for multicast membership changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue