mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
various fixes - see CHANGELOG
This commit is contained in:
@@ -1081,6 +1081,8 @@ void SocketImpl::error(int code, const std::string& arg)
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
case EPIPE:
|
||||
throw IOException("Broken pipe", code);
|
||||
case EBADF:
|
||||
throw IOException("Bad socket descriptor", code);
|
||||
#endif
|
||||
default:
|
||||
throw IOException(NumberFormatter::format(code), arg, code);
|
||||
|
||||
Reference in New Issue
Block a user