mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 18:56:23 -04:00
added on/off mechanism for packet slicing to ensure packward compatibility
This commit is contained in:
parent
3b685851d2
commit
153db5ca64
2 changed files with 53 additions and 7 deletions
|
@ -161,6 +161,8 @@ class pqistreamer: public PQInterface
|
|||
std::list<RSTrafficClue> mCurrentStatsChunk_Out ;
|
||||
time_t mStatisticsTimeStamp ;
|
||||
|
||||
bool mAcceptsPacketSlicing ;
|
||||
time_t mLastSentPacketSlicingProbe ;
|
||||
void locked_addTrafficClue(const RsItem *pqi, uint32_t pktsize, std::list<RSTrafficClue> &lst);
|
||||
RsItem *addPartialPacket(const void *block, uint32_t len, uint32_t slice_packet_id,bool packet_starting,bool packet_ending);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue