mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
backport 89da23d
- don't wrap TimeoutException in ICMPException
This commit is contained in:
parent
29b42efbd0
commit
ae9a7368cc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user