summaryrefslogtreecommitdiff
path: root/server/include/server.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-08-09 08:16:50 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-08-09 08:16:50 +0300
commit704bf55df5fae51bf0e8d86679ee7f34e22553d2 (patch)
tree68385079dec7204d8c646d4937e93d68cd4cbd42 /server/include/server.h
parent5a4cbe950cd653385fc6e93aa860542b01bdf1bc (diff)
client-qt:
socket wraper to work with both ssl and plain connection server: socket wraper to work with both ssl and plain connection bit of config related changes ssl support (untested)
Diffstat (limited to 'server/include/server.h')
-rw-r--r--server/include/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/include/server.h b/server/include/server.h
index 83d3b5b..c4ccc97 100644
--- a/server/include/server.h
+++ b/server/include/server.h
@@ -23,6 +23,7 @@
#define SERVER_H
#include <boost/asio.hpp>
+#include <boost/asio/ssl.hpp>
//TODO ssl
@@ -40,6 +41,7 @@ private:
boost::asio::io_service& io_service_;
boost::asio::ip::tcp::acceptor acceptor_;
+ boost::asio::ssl::context *context_;
};