mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-01 11:52:54 +01:00
backport 89da23d - don't wrap TimeoutException in ICMPException
This commit is contained in:
@@ -101,6 +101,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (TimeoutException&)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception&)
|
||||
{
|
||||
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize, type, code);
|
||||
|
||||
Reference in New Issue
Block a user