Module: kamailio
Branch: 5.4
Commit: 3ee9eb6700ae61c0449b2c9568e67712b0e82f8f
URL: 
https://github.com/kamailio/kamailio/commit/3ee9eb6700ae61c0449b2c9568e67712b0e82f8f

Author: Federico Cabiddu <federico.cabi...@gmail.com>
Committer: Federico Cabiddu <federico.cabi...@gmail.com>
Date: 2021-03-22T20:09:37+01:00

http_async_client: disable HTTP/2 multiplexing

---

Modified: src/modules/http_async_client/http_multi.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/3ee9eb6700ae61c0449b2c9568e67712b0e82f8f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3ee9eb6700ae61c0449b2c9568e67712b0e82f8f.patch

---

diff --git a/src/modules/http_async_client/http_multi.c 
b/src/modules/http_async_client/http_multi.c
index 9ed1b2dc92..69d847c891 100644
--- a/src/modules/http_async_client/http_multi.c
+++ b/src/modules/http_async_client/http_multi.c
@@ -403,6 +403,7 @@ int init_http_multi(struct event_base *evbase, struct 
http_m_global *wg)
        curl_multi_setopt(g->multi, CURLMOPT_SOCKETDATA, g);
        curl_multi_setopt(g->multi, CURLMOPT_TIMERFUNCTION, multi_timer_cb);
        curl_multi_setopt(g->multi, CURLMOPT_TIMERDATA, g);
+       curl_multi_setopt(g->multi, CURLMOPT_PIPELINING, CURLPIPE_NOTHING);
 
        return init_http_m_table(hash_size);
 }


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to