[sr-dev] git:4.4:22003d5c: http_client Clarify DNS resolver use for CURL

Olle E. Johansson oej at edvina.net
Mon Apr 18 13:45:20 CEST 2016


Module: kamailio
Branch: 4.4
Commit: 22003d5cba54b5c0d0f0af06f62be24190bef231
URL: https://github.com/kamailio/kamailio/commit/22003d5cba54b5c0d0f0af06f62be24190bef231

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: 2016-04-18T13:45:11+02:00

http_client Clarify DNS resolver use for CURL

(cherry picked from commit e85706b549e691404e3caf401fa4cf86c5ab90de)

---

Modified: modules/http_client/README
Modified: modules/http_client/doc/http_client_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/22003d5cba54b5c0d0f0af06f62be24190bef231.diff
Patch: https://github.com/kamailio/kamailio/commit/22003d5cba54b5c0d0f0af06f62be24190bef231.patch

---

diff --git a/modules/http_client/README b/modules/http_client/README
index 45449ef..5d503e9 100644
--- a/modules/http_client/README
+++ b/modules/http_client/README
@@ -171,6 +171,12 @@ Chapter 1. Admin Guide
    and get access to parts of the reply. This function has been ported
    from the utils module and now use the same libcurl functions.
 
+   The http_client module use the CURL library setting up connections. The
+   CURL library by default use the system configured DNS resolvers, not
+   the Kamailio resolver.
+
+   The module is limited to using HTTP and HTTPS protocols.
+
 2. Dependencies
 
    2.1. Kamailio Modules
diff --git a/modules/http_client/doc/http_client_admin.xml b/modules/http_client/doc/http_client_admin.xml
index 07b2d02..e2c32f5 100644
--- a/modules/http_client/doc/http_client_admin.xml
+++ b/modules/http_client/doc/http_client_admin.xml
@@ -43,6 +43,14 @@
 	been ported from the utils module and now use the same libcurl
 	functions.
 	</para>
+	<para>
+	The http_client module use the CURL library setting up connections.
+	The CURL library by default use the system configured DNS resolvers,
+	not the Kamailio resolver.
+	</para>
+	<para>
+	The module is limited to using HTTP and HTTPS protocols.
+	</para>
 	</section>
 	<section>
 	<title>Dependencies</title>




More information about the sr-dev mailing list