Commit eb6ce926 by Paweł Wegner

CurlHttp: disable http2 pipelining.

parent 3a866754
...@@ -109,7 +109,6 @@ CurlHttp::Worker::~Worker() { ...@@ -109,7 +109,6 @@ CurlHttp::Worker::~Worker() {
void CurlHttp::Worker::work() { void CurlHttp::Worker::work() {
auto handle = curl_multi_init(); auto handle = curl_multi_init();
curl_multi_setopt(handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
while (!done_ || !pending_.empty()) { while (!done_ || !pending_.empty()) {
std::unique_lock<std::mutex> lock(lock_); std::unique_lock<std::mutex> lock(lock_);
nonempty_.wait(lock, [=]() { nonempty_.wait(lock, [=]() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment