Synchronous client request calls is now safe to use concurrently
This commit is contained in:
parent
9b5063f422
commit
fd764d908c
4 changed files with 56 additions and 7 deletions
|
|
@ -238,7 +238,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