[sr-dev] git:5.3:9d24f18f: http_async_client: disable HTTP/2 multiplexing

Federico Cabiddu federico.cabiddu at gmail.com
Mon Mar 22 20:10:11 CET 2021


Module: kamailio
Branch: 5.3
Commit: 9d24f18fd529152d0a5ef4d0aed27bc488928be9
URL: https://github.com/kamailio/kamailio/commit/9d24f18fd529152d0a5ef4d0aed27bc488928be9

Author: Federico Cabiddu <federico.cabiddu at gmail.com>
Committer: Federico Cabiddu <federico.cabiddu at gmail.com>
Date: 2021-03-22T20:09:58+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/9d24f18fd529152d0a5ef4d0aed27bc488928be9.diff
Patch: https://github.com/kamailio/kamailio/commit/9d24f18fd529152d0a5ef4d0aed27bc488928be9.patch

---

diff --git a/src/modules/http_async_client/http_multi.c b/src/modules/http_async_client/http_multi.c
index cfe9ae9177..6c242032b3 100644
--- a/src/modules/http_async_client/http_multi.c
+++ b/src/modules/http_async_client/http_multi.c
@@ -410,6 +410,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);
 }




More information about the sr-dev mailing list