mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +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;
|
throw;
|
||||||
}
|
}
|
||||||
|
catch (TimeoutException&)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
catch (Exception&)
|
catch (Exception&)
|
||||||
{
|
{
|
||||||
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize, type, code);
|
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize, type, code);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user