diff options
Diffstat (limited to 'src/HTTP/SslHTTPServerConnection.h')
-rw-r--r-- | src/HTTP/SslHTTPServerConnection.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/HTTP/SslHTTPServerConnection.h b/src/HTTP/SslHTTPServerConnection.h index 157aa9326..2d293c605 100644 --- a/src/HTTP/SslHTTPServerConnection.h +++ b/src/HTTP/SslHTTPServerConnection.h @@ -16,27 +16,21 @@ -class cSslHTTPServerConnection: - public cHTTPServerConnection +class cSslHTTPServerConnection : public cHTTPServerConnection { using Super = cHTTPServerConnection; -public: - + public: /** Creates a new connection on the specified server. Sends the specified cert as the server certificate, uses the private key for decryption. */ cSslHTTPServerConnection(cHTTPServer & a_HTTPServer, const std::shared_ptr<const cSslConfig> & a_Config); virtual ~cSslHTTPServerConnection() override; -protected: + protected: cBufferedSslContext m_Ssl; // cHTTPConnection overrides: virtual void OnReceivedData(const char * a_Data, size_t a_Size) override; // Data is received from the client virtual void SendData(const void * a_Data, size_t a_Size) override; // Data is to be sent to client -} ; - - - - +}; |