continue sending packet slicing probes in case the peer has restarted

This commit is contained in:
csoler 2016-10-04 21:34:23 +02:00
parent b08a62afc9
commit e42dae8f78

View File

@ -555,7 +555,7 @@ int pqistreamer::handleoutgoing_locked()
// if so, we enable it for the session. This should be removed (because it's unnecessary) when all users have switched to the new version.
time_t now = time(NULL) ;
if((!mAcceptsPacketSlicing) && now > mLastSentPacketSlicingProbe + PQISTREAM_PACKET_SLICING_PROBE_DELAY)
if(now > mLastSentPacketSlicingProbe + PQISTREAM_PACKET_SLICING_PROBE_DELAY)
{
#ifdef DEBUG_PACKET_SLICING
std::cerr << "(II) Inserting packet slicing probe in traffic" << std::endl;