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

Commitaddf968

Browse files
committed
Create thread in async_client when io_service is own
Fixes a bug in previews commit when if was inverted.
1 parent22375ba commitaddf968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/protocol/http/client/async_impl.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct async_client
5757
always_verify_peer_(always_verify_peer) {
5858
connection_base::resolver_strand_.reset(
5959
newboost::asio::io_service::strand(service_));
60-
if(service)
60+
if(!service)
6161
lifetime_thread_.reset(newboost::thread(
6262
boost::bind(&boost::asio::io_service::run, &service_)));
6363
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp