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

Conditional async_client liftetime_thread creation#431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 4 commits intocpp-netlib:0.11-develfromeakraly:0.11-devel
Sep 2, 2014
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
Create thread in async_client when io_service is own
Fixes a bug in previews commit when if was inverted.
  • Loading branch information
@eakraly
eakraly committedSep 1, 2014
commitaddf9686674e02150521d9829f80396344f3bf4c
2 changes: 1 addition & 1 deletionboost/network/protocol/http/client/async_impl.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,7 +57,7 @@ struct async_client
always_verify_peer_(always_verify_peer) {
connection_base::resolver_strand_.reset(
new boost::asio::io_service::strand(service_));
if(service)
if(!service)
lifetime_thread_.reset(new boost::thread(
boost::bind(&boost::asio::io_service::run, &service_)));
}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp