Synchronous client request calls is now safe to use concurrently
This commit is contained in:
parent
fa5a3bdc4f
commit
28eeef7d65
4 changed files with 56 additions and 7 deletions
|
|
@ -221,7 +221,6 @@ int main() {
|
|||
if(!ec)
|
||||
cout << response->content.rdbuf() << endl;
|
||||
});
|
||||
client.io_service->reset(); // needed because the io_service has been run already in the synchronous examples
|
||||
client.io_service->run();
|
||||
|
||||
server_thread.join();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue