Removed unused variable #4750
This commit is contained in:
parent
0ddf544efb
commit
f8bb948776
|
@ -59,8 +59,7 @@ SecureSocket::SecureSocket(
|
||||||
SocketMultiplexer* socketMultiplexer) :
|
SocketMultiplexer* socketMultiplexer) :
|
||||||
TCPSocket(events, socketMultiplexer),
|
TCPSocket(events, socketMultiplexer),
|
||||||
m_secureReady(false),
|
m_secureReady(false),
|
||||||
m_fatal(false),
|
m_fatal(false)
|
||||||
m_maxRetry(kMaxRetryCount)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,8 +69,7 @@ SecureSocket::SecureSocket(
|
||||||
ArchSocket socket) :
|
ArchSocket socket) :
|
||||||
TCPSocket(events, socketMultiplexer, socket),
|
TCPSocket(events, socketMultiplexer, socket),
|
||||||
m_secureReady(false),
|
m_secureReady(false),
|
||||||
m_fatal(false),
|
m_fatal(false)
|
||||||
m_maxRetry(kMaxRetryCount)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,8 +52,6 @@ public:
|
||||||
int secureWrite(const void* buffer, int size, int& wrote);
|
int secureWrite(const void* buffer, int size, int& wrote);
|
||||||
void initSsl(bool server);
|
void initSsl(bool server);
|
||||||
bool loadCertificates(String& CertFile);
|
bool loadCertificates(String& CertFile);
|
||||||
void maxRetry(int limit) { m_maxRetry = limit; };
|
|
||||||
int maxRetry() const { return m_maxRetry; };
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// SSL
|
// SSL
|
||||||
|
@ -87,5 +85,4 @@ private:
|
||||||
Ssl* m_ssl;
|
Ssl* m_ssl;
|
||||||
bool m_secureReady;
|
bool m_secureReady;
|
||||||
bool m_fatal;
|
bool m_fatal;
|
||||||
int m_maxRetry;
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue