mirror of
https://github.com/sogou/workflow.git
synced 2026-10-27 02:23:27 +08:00
ServiceSSLWrapper -> ServerSSLWrapper
This commit is contained in:
@@ -285,7 +285,7 @@ int SSLWrapper::feedback(const void *buf, size_t size)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int ServiceSSLWrapper::append(const void *buf, size_t *size)
|
||||
int ServerSSLWrapper::append(const void *buf, size_t *size)
|
||||
{
|
||||
char *ptr;
|
||||
long len;
|
||||
|
||||
@@ -89,19 +89,19 @@ public:
|
||||
SSLWrapper& operator = (SSLWrapper&& wrapper) = default;
|
||||
};
|
||||
|
||||
class ServiceSSLWrapper : public SSLWrapper
|
||||
class ServerSSLWrapper : public SSLWrapper
|
||||
{
|
||||
protected:
|
||||
virtual int append(const void *buf, size_t *size);
|
||||
|
||||
public:
|
||||
ServiceSSLWrapper(ProtocolMessage *msg, SSL *ssl) : SSLWrapper(msg, ssl)
|
||||
ServerSSLWrapper(ProtocolMessage *msg, SSL *ssl) : SSLWrapper(msg, ssl)
|
||||
{
|
||||
}
|
||||
|
||||
public:
|
||||
ServiceSSLWrapper(ServiceSSLWrapper&& wrapper) = default;
|
||||
ServiceSSLWrapper& operator = (ServiceSSLWrapper&& wrapper) = default;
|
||||
ServerSSLWrapper(ServerSSLWrapper&& wrapper) = default;
|
||||
ServerSSLWrapper& operator = (ServerSSLWrapper&& wrapper) = default;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user