From 89da23d363be1ecfc688848016e00f4d8a68ce8b 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 2d58eb2f1..8b7d0e03f 100644 --- a/Net/src/ICMPSocketImpl.cpp +++ b/Net/src/ICMPSocketImpl.cpp @@ -93,6 +93,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags) { throw; } + catch (TimeoutException&) + { + throw; + } catch (Exception&) { std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);