Module: kamailio
Branch: master
Commit: 6ec588a71e49c88ac0b62f3385cb6e7744fc13f9
URL:
https://github.com/kamailio/kamailio/commit/6ec588a71e49c88ac0b62f3385cb6e7…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-07-24T08:31:20+02:00
modules: readme files regenerated - ruxc ... [skip ci]
---
Modified: src/modules/ruxc/README
---
Diff:
https://github.com/kamailio/kamailio/commit/6ec588a71e49c88ac0b62f3385cb6e7…
Patch:
https://github.com/kamailio/kamailio/commit/6ec588a71e49c88ac0b62f3385cb6e7…
---
diff --git a/src/modules/ruxc/README b/src/modules/ruxc/README
index 6fb238e3b7..e437234139 100644
--- a/src/modules/ruxc/README
+++ b/src/modules/ruxc/README
@@ -28,6 +28,7 @@ Daniel-Constantin Mierla
3.1. http_timeout (int)
3.2. http_tlsmode (int)
+ 3.3. http_reuse (int)
4. Functions
@@ -40,9 +41,10 @@ Daniel-Constantin Mierla
1.1. Set http_timeout parameter
1.2. Set http_tlsmode parameter
- 1.3. ruxc_http_get() usage
- 1.4. ruxc_http_post() usage
- 1.5. Libruxc Usage
+ 1.3. Set http_reuse parameter
+ 1.4. ruxc_http_get() usage
+ 1.5. ruxc_http_post() usage
+ 1.6. Libruxc Usage
Chapter 1. Admin Guide
@@ -58,6 +60,7 @@ Chapter 1. Admin Guide
3.1. http_timeout (int)
3.2. http_tlsmode (int)
+ 3.3. http_reuse (int)
4. Functions
@@ -95,6 +98,7 @@ Chapter 1. Admin Guide
3.1. http_timeout (int)
3.2. http_tlsmode (int)
+ 3.3. http_reuse (int)
3.1. http_timeout (int)
@@ -120,6 +124,20 @@ modparam("ruxc", "http_timeout", 2000)
modparam("ruxc", "http_tlsmode", 1)
...
+3.3. http_reuse (int)
+
+ Set to 1 in order to reuse the connection for all requests (each
+ Kamailio process has its own connection). Useful to avoid TCP connect
+ (and TLS handshake) when all requests are performed against the same
+ HTTP/S server.
+
+ Default value is 0 (new connection for each request).
+
+ Example 1.3. Set http_reuse parameter
+...
+modparam("ruxc", "http_reuse", 1)
+...
+
4. Functions
4.1. ruxc_http_get(url, hdrs, respv)
@@ -137,7 +155,7 @@ modparam("ruxc", "http_tlsmode", 1)
This function can be used from ANY_ROUTE.
- Example 1.3. ruxc_http_get() usage
+ Example 1.4. ruxc_http_get() usage
...
ruxc_http_get("http://api.com/index.php?r_uri=$(ru{s.escape.param})&am…
.escape.param})",
@@ -160,7 +178,7 @@ switch ($rc) {
This function can be used from ANY_ROUTE.
- Example 1.4. ruxc_http_post() usage
+ Example 1.5. ruxc_http_post() usage
...
ruxc_http_post("http://api.com/index.php?r_uri=$(ru{s.escape.param})&a…
s.escape.param})",
@@ -183,7 +201,7 @@ switch ($rc) {
installed and its environment configured, then run the following
commands:
- Example 1.5. Libruxc Usage
+ Example 1.6. Libruxc Usage
...
git clone
https://github.com/miconda/ruxc
cd ruxc