Lines 44-50
Link Here
|
44 |
} |
44 |
} |
45 |
|
45 |
|
46 |
void SSLConnectionManager::acceptIncomingConnection() { |
46 |
void SSLConnectionManager::acceptIncomingConnection() { |
47 |
boost::shared_ptr<ip::tcp::socket> socket(new ip::tcp::socket(acceptor.io_service())); |
47 |
boost::shared_ptr<ip::tcp::socket> socket(new ip::tcp::socket(acceptor.get_io_service())); |
48 |
|
48 |
|
49 |
acceptor.async_accept(*socket, boost::bind(&SSLConnectionManager::handleClientConnection, |
49 |
acceptor.async_accept(*socket, boost::bind(&SSLConnectionManager::handleClientConnection, |
50 |
this, socket, placeholders::error)); |
50 |
this, socket, placeholders::error)); |
Lines 76-82
Link Here
|
76 |
ip::tcp::endpoint &destination) |
76 |
ip::tcp::endpoint &destination) |
77 |
|
77 |
|
78 |
{ |
78 |
{ |
79 |
Bridge::ptr bridge = RawBridge::create(clientSocket, destination, acceptor.io_service()); |
79 |
Bridge::ptr bridge = RawBridge::create(clientSocket, destination, acceptor.get_io_service()); |
80 |
bridge->shuttle(); |
80 |
bridge->shuttle(); |
81 |
} |
81 |
} |
82 |
|
82 |
|
Lines 134-140
Link Here
|
134 |
ip::tcp::endpoint &destination, |
134 |
ip::tcp::endpoint &destination, |
135 |
bool wildcardOK) |
135 |
bool wildcardOK) |
136 |
{ |
136 |
{ |
137 |
ip::tcp::socket serverSocket(acceptor.io_service()); |
137 |
ip::tcp::socket serverSocket(acceptor.get_io_service()); |
138 |
boost::system::error_code error; |
138 |
boost::system::error_code error; |
139 |
serverSocket.connect(destination, error); |
139 |
serverSocket.connect(destination, error); |
140 |
|
140 |
|