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