Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5aca73

Browse files
committed
Update ssl_delegate.hpp
1 parente76bb29 commitc5aca73

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-
virtualvoidconnect(asio::ip::tcp::endpoint &endpoint, std::string host,
32+
virtualvoidconnect(asio::ip::tcp::endpoint &endpoint, std::string host, boost::uint16_t source_port,
3333
function<void(system::error_codeconst &)> handler);
3434
virtualvoidwrite(
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_delegateconst &);// = delete

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp