From 1fdc18d35f7fab05ceda8783bb1705d2014042c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Wed, 21 Feb 2018 19:16:44 +0100 Subject: [PATCH] don't wrap TimeoutException in ICMPException --- Net/src/ICMPSocketImpl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Net/src/ICMPSocketImpl.cpp b/Net/src/ICMPSocketImpl.cpp index 8c68d5303..9c3eab0bc 100644 --- a/Net/src/ICMPSocketImpl.cpp +++ b/Net/src/ICMPSocketImpl.cpp @@ -76,6 +76,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags) { throw; } + catch (TimeoutException&) + { + throw; + } catch (Exception&) { std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);