diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-09 13:15:18 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-09 13:15:18 +0100 |
commit | dc2e2b3e293a8374a2627982b521cc6865129c49 (patch) | |
tree | bd34d6c13e330be5937aec29503cbe6649d0fa74 /https.h | |
parent | d747193e76baf689211d9f1e42335360288d43c0 (diff) |
Separated out websocket
Diffstat (limited to 'https.h')
-rw-r--r-- | https.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -3,20 +3,13 @@ #include <boost/asio/steady_timer.hpp> #include <boost/beast/version.hpp> -// Support both boost in Debian unstable (BOOST_LATEST) and in stable (boost 1.67) -#if BOOST_VERSION >= 107100 -#define BOOST_LATEST -#endif - #include <memory> #include <string> #include <unordered_map> #include <boost/asio/dispatch.hpp> #include <boost/asio/strand.hpp> -#ifdef BOOST_LATEST #include <boost/beast/ssl.hpp> -#endif #include <boost/asio/ssl.hpp> #include "config.h" @@ -26,11 +19,7 @@ namespace ssl = boost::asio::ssl; // from <boost/asio/ssl.hpp> namespace HTTPS { -#ifdef BOOST_LATEST static const ssl::context_base::method tls_method {ssl::context::tlsv13}; -#else -static const ssl::context_base::method tls_method {ssl::context::tlsv12}; -#endif class Server: public ::Server { |