mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01:00
don't wrap TimeoutException in ICMPException
This commit is contained in:
parent
2870dd898c
commit
89da23d363
@ -93,6 +93,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags)
|
|||||||
{
|
{
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
catch (TimeoutException&)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
catch (Exception&)
|
catch (Exception&)
|
||||||
{
|
{
|
||||||
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);
|
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user