mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-07 08:49:12 +01:00
fix(NetSSL): NetSSL_OpenSSL: non-blocking functions return value #4906
This commit is contained in:
@@ -320,6 +320,7 @@ protected:
|
||||
bool stateMachine();
|
||||
State getState() const;
|
||||
void setState(State st);
|
||||
static int stateToReturnValue(State state);
|
||||
static bool isLocalHost(const std::string& hostName);
|
||||
|
||||
#ifdef ENABLE_PRINT_STATE
|
||||
|
||||
@@ -53,8 +53,9 @@ class NetSSL_Win_API SecureStreamSocket: public StreamSocket
|
||||
public:
|
||||
enum
|
||||
{
|
||||
ERR_SSL_WANT_READ = -1,
|
||||
ERR_SSL_WANT_WRITE = -2
|
||||
ERR_SSL_WOULD_BLOCK = -1,
|
||||
ERR_SSL_WANT_READ = -2,
|
||||
ERR_SSL_WANT_WRITE = -3
|
||||
};
|
||||
|
||||
SecureStreamSocket();
|
||||
|
||||
Reference in New Issue
Block a user