Improved rate limit logic for QoS/ACK packets. Also reduced how often processBackgroundPathMeasurements() is called

This commit is contained in:
Joseph Henry
2018-06-12 15:24:12 -07:00
parent 7c53adbcfe
commit 6fddf31db3
4 changed files with 27 additions and 29 deletions

View File

@ -24,7 +24,6 @@
* of your own application.
*/
#include "../version.h"
#include "Constants.hpp"
#include "Peer.hpp"
@ -55,6 +54,8 @@ Peer::Peer(const RuntimeEnvironment *renv,const Identity &myIdentity,const Ident
_lastCredentialsReceived(0),
_lastTrustEstablishedPacketReceived(0),
_lastSentFullHello(0),
_lastACKWindowReset(0),
_lastQoSWindowReset(0),
_vProto(0),
_vMajor(0),
_vMinor(0),