[sr-dev] git:master:9b9bd62c: http_client: docs for netinterface parameter

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 17 13:02:47 CET 2020


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-01-17T13:01:46+01:00

http_client: docs for netinterface parameter

---

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

---

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

---

diff --git a/src/modules/http_client/doc/http_client_admin.xml b/src/modules/http_client/doc/http_client_admin.xml
index 1079bfe17a..691a995319 100644
--- a/src/modules/http_client/doc/http_client_admin.xml
+++ b/src/modules/http_client/doc/http_client_admin.xml
@@ -659,6 +659,28 @@ http_follow_redirect = no
 	</example>
 
 		</section>
+		<section id="http_client.p.netinterface">
+			<title><varname>netinterface</varname> (string)</title>
+			<para>
+			Set local network interface to be used for HTTP queries. It
+			can be interface name or IP address. For more details see:
+			https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html .
+			</para>
+			<para>
+			<emphasis>
+				Default value not set.
+			</emphasis>
+			</para>
+			<example>
+			<title>Set <varname>netinterface</varname> parameter</title>
+				<programlisting format="linespecific">
+...
+modparam("http_client", "netinterface", "eth0")
+...
+				</programlisting>
+			</example>
+		</section>
+
 	</section>
 
 	<section>




More information about the sr-dev mailing list