Skip to content

Commit c5aca73

Browse files
committed
Update ssl_delegate.hpp
1 parent e76bb29 commit c5aca73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

boost/network/protocol/http/client/connection/ssl_delegate.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct ssl_delegate : connection_delegate,
2929
optional<std::string> private_key_file,
3030
optional<std::string> ciphers, long ssl_options);
3131

32-
virtual void connect(asio::ip::tcp::endpoint &endpoint, std::string host,
32+
virtual void connect(asio::ip::tcp::endpoint &endpoint, std::string host, boost::uint16_t source_port,
3333
function<void(system::error_code const &)> handler);
3434
virtual void write(
3535
asio::streambuf &command_streambuf,
@@ -49,7 +49,8 @@ struct ssl_delegate : connection_delegate,
4949
optional<std::string> ciphers_;
5050
long ssl_options_;
5151
scoped_ptr<asio::ssl::context> context_;
52-
scoped_ptr<asio::ssl::stream<asio::ip::tcp::socket> > socket_;
52+
scoped_ptr<asio::ip::tcp::socket> tcp_socket_;
53+
scoped_ptr<asio::ssl::stream<asio::ip::tcp::socket&> > socket_;
5354
bool always_verify_peer_;
5455

5556
ssl_delegate(ssl_delegate const &); // = delete

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy