diff --git a/modules/client/sync.cc b/modules/client/sync.cc index c82ffd551..30258c60b 100644 --- a/modules/client/sync.cc +++ b/modules/client/sync.cc @@ -268,7 +268,8 @@ try *client, http::REQUEST_TIMEOUT }; - client->close(net::dc::SSL_NOTIFY, net::close_ignore); + client->longpoll = false; + client->async(); } catch(const std::exception &e) {