mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add basic ssl support for peer connections.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef __CONNECTION_POOL__
|
||||
#define __CONNECTION_POOL__
|
||||
|
||||
#include <boost/asio/ssl.hpp>
|
||||
#include <boost/thread/mutex.hpp>
|
||||
|
||||
#include "Peer.h"
|
||||
@@ -27,6 +28,8 @@ private:
|
||||
// Non-thin peers which we are connected to.
|
||||
boost::unordered_map<NewcoinAddress, Peer::pointer> mConnectedMap;
|
||||
|
||||
boost::asio::ssl::context mCtx;
|
||||
|
||||
public:
|
||||
ConnectionPool();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user