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

Commitf36b485

Browse files
leecoder이충우
authored and
이충우
committed
Fixes for ci build errors
1 parent2174385 commitf36b485

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎boost/network/protocol/stream_handler.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ namespace boost { namespace network {
4444
}
4545

4646
stream_handler(boost::asio::io_service& io, boost::shared_ptr<boost::asio::ssl::context> ctx = boost::shared_ptr<boost::asio::ssl::context>()) {
47-
tcp_sock_ = boost::make_shared< tcp_socket >(io);
47+
tcp_sock_ = boost::make_shared< tcp_socket >(boost::ref(io));
4848
ssl_enabled =false;
4949
if(ctx) {
5050
/// SSL is enabled
51-
ssl_sock_ = boost::make_shared< ssl_socket >(io, *ctx);
51+
ssl_sock_ = boost::make_shared< ssl_socket >(boost::ref(io),
52+
boost::ref(*ctx));
5253
ssl_enabled =true;
5354
}
5455
}
@@ -182,4 +183,4 @@ namespace boost { namespace network {
182183
}
183184
}
184185

185-
#endif
186+
#endif

‎libs/network/test/http/client_get_timeout_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(http_get_test_timeout_1_0, client, client_types) {
2222
}
2323

2424
BOOST_AUTO_TEST_CASE_TEMPLATE(http_get_test_timeout_with_options, client, client_types) {
25-
typename client::requestrequest("http://commondatastorage.googleapis.com/cpp-netlib-downloads/0.11.0/cpp-netlib-0.11.0.zip");
25+
typename client::requestrequest("http://cznic.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2");
2626
typename client::response response;
2727
typename client::options options;
2828
clientclient_(options.timeout(1));
@@ -33,7 +33,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(http_get_test_timeout_with_options, client, client
3333
#ifdef BOOST_NETWORK_ENABLE_HTTPS
3434

3535
BOOST_AUTO_TEST_CASE_TEMPLATE(https_get_test_timeout_with_options, client, client_types) {
36-
typename client::requestrequest("https://codeload.github.com/cpp-netlib/cpp-netlib/zip/0.11-devel");
36+
typename client::requestrequest("https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.2.tar.bz2");
3737
typename client::response response;
3838
typename client::options options;
3939
clientclient_(options.timeout(1));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp