Synchronous client request calls is now safe to use concurrently

This commit is contained in:
eidheim 2017-07-07 17:16:53 +02:00
commit 28eeef7d65
4 changed files with 56 additions and 7 deletions

View file

@ -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();