Several more SSO/OIDC related fixes, and bump version to 1.8.9.

This commit is contained in:
Adam Ierymenko 2022-04-19 21:29:11 -04:00
parent ef08346a74
commit ee0a194b25
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
8 changed files with 27 additions and 21 deletions

View file

@ -530,14 +530,9 @@
#define ZT_PUSH_DIRECT_PATHS_MAX_PER_SCOPE_AND_FAMILY 8
/**
* Time horizon for VERB_NETWORK_CREDENTIALS cutoff
* Rate limit for network credential pushes from peer.
*/
#define ZT_PEER_CREDENTIALS_CUTOFF_TIME 60000
/**
* Maximum number of VERB_NETWORK_CREDENTIALS within cutoff time
*/
#define ZT_PEER_CREDENTIALS_CUTOFF_LIMIT 15
#define ZT_PEER_CREDENTIALS_RATE_LIMIT 1000
/**
* Rate limit for responding to peer credential requests