mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-03 11:51:10 -05:00
avoid sending packet slicing probes to the serializer in pqistreamer
This commit is contained in:
parent
5a55800f31
commit
aff7912f41
@ -803,11 +803,14 @@ start_packet_read:
|
||||
|
||||
if(!memcmp(block,PACKET_SLICING_PROBE_BYTES,8))
|
||||
{
|
||||
mAcceptsPacketSlicing = !DISABLE_PACKET_SLICING;
|
||||
mAcceptsPacketSlicing = !DISABLE_PACKET_SLICING;
|
||||
#ifdef DEBUG_PACKET_SLICING
|
||||
std::cerr << "(II) Enabling packet slicing!" << std::endl;
|
||||
#endif
|
||||
}
|
||||
mReading_state = reading_state_initial ; // restart at state 1.
|
||||
mFailed_read_attempts = 0 ;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
continue_packet:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user