Fix multipart transfer timeout and enable its tests

This commit is contained in:
Alexey Rybalchenko
2018-08-27 17:36:29 +02:00
committed by Dennis Klein
parent 5d37ab2f01
commit b814e40c87
3 changed files with 134 additions and 56 deletions

View File

@@ -283,7 +283,7 @@ int64_t FairMQSocketZMQ::SendImpl(vector<FairMQMessagePtr>& msgVec, const int fl
} // If there's only one part, send it as a regular message
else if (vecSize == 1)
{
return Send(msgVec.back(), flags);
return SendImpl(msgVec.back(), flags, timeout);
}
else // if the vector is empty, something might be wrong
{