parent
6bafff0560
commit
8f6788b2ef
@ -21,6 +21,11 @@ class cBlockingSslClientSocket :
|
||||
{
|
||||
public:
|
||||
cBlockingSslClientSocket(void);
|
||||
|
||||
~cBlockingSslClientSocket(void)
|
||||
{
|
||||
Disconnect();
|
||||
}
|
||||
|
||||
/** Connects to the specified server and performs SSL handshake.
|
||||
Returns true if successful, false on failure. Sets internal error text on failure. */
|
||||
|
@ -459,7 +459,6 @@ bool cMojangAPI::SecureRequest(const AString & a_ServerName, const AString & a_R
|
||||
a_Response.append((const char *)buf, (size_t)ret);
|
||||
}
|
||||
|
||||
Socket.Disconnect();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user