mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 09:12:28 +02:00
re-add special handling for TimeoutException
This commit is contained in:
@@ -72,6 +72,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags)
|
|||||||
}
|
}
|
||||||
while (!_icmpPacket.validReplyID(buffer.begin(), maxPacketSize));
|
while (!_icmpPacket.validReplyID(buffer.begin(), maxPacketSize));
|
||||||
}
|
}
|
||||||
|
catch (TimeoutException&)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
catch (Exception&)
|
catch (Exception&)
|
||||||
{
|
{
|
||||||
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);
|
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);
|
||||||
|
|||||||
Reference in New Issue
Block a user