[sr-dev] git:master:e85706b5: http_client Clarify DNS resolver use for CURL

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


Module: kamailio
Branch: master
Commit: e85706b549e691404e3caf401fa4cf86c5ab90de
URL: https://github.com/kamailio/kamailio/commit/e85706b549e691404e3caf401fa4cf86c5ab90de

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

http_client Clarify DNS resolver use for CURL

---

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

---

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

---

diff --git a/modules/http_client/README b/modules/http_client/README
index 41a0c92..a3f9e7d 100644
--- a/modules/http_client/README
+++ b/modules/http_client/README
@@ -183,6 +183,10 @@ 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
diff --git a/modules/http_client/doc/http_client_admin.xml b/modules/http_client/doc/http_client_admin.xml
index 5914787..76cb035 100644
--- a/modules/http_client/doc/http_client_admin.xml
+++ b/modules/http_client/doc/http_client_admin.xml
@@ -44,6 +44,11 @@
 	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>




More information about the sr-dev mailing list