mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
exclude resent stream packets from RTT calculations
This commit is contained in:
@@ -71,8 +71,9 @@ namespace stream
|
||||
size_t len, offset;
|
||||
uint8_t buf[MAX_PACKET_SIZE];
|
||||
uint64_t sendTime;
|
||||
bool resent;
|
||||
|
||||
Packet (): len (0), offset (0), sendTime (0) {};
|
||||
Packet (): len (0), offset (0), sendTime (0), resent (false) {};
|
||||
uint8_t * GetBuffer () { return buf + offset; };
|
||||
size_t GetLength () const { return len - offset; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user