[prev in list] [next in list] [prev in thread] [next in thread]
List: serdev
Subject: [sr-dev] git:4.4:6bd9386e: http_client Remove the last traces of $curlredirect
From: Olle E. Johansson <oej () edvina ! net>
Date: 2016-03-30 13:03:41
Message-ID: E1alFmf-0006t7-Jk () www ! kamailio ! org
[Download RAW message or body]
Module: kamailio
Branch: 4.4
Commit: 6bd9386e001f5843f5a46c387587e71a7d89c942
URL: https://github.com/kamailio/kamailio/commit/6bd9386e001f5843f5a46c387587e71a7d89c942
Author: Olle E. Johansson <oej@edvina.net>
Committer: Olle E. Johansson <oej@edvina.net>
Date: 2016-03-30T15:03:05+02:00
http_client Remove the last traces of $curlredirect
Will continue working with this in master
---
Modified: modules/http_client/README
Modified: modules/http_client/doc/http_client_admin.xml
Modified: modules/http_client/http_client.c
---
Diff: https://github.com/kamailio/kamailio/commit/6bd9386e001f5843f5a46c387587e71a7d89c942.diff
Patch: https://github.com/kamailio/kamailio/commit/6bd9386e001f5843f5a46c387587e71a7d89c942.patch
---
diff --git a/modules/http_client/README b/modules/http_client/README
index 936785b..45449ef 100644
--- a/modules/http_client/README
+++ b/modules/http_client/README
@@ -210,9 +210,6 @@ Chapter 1. Admin Guide
If set to 1, enabled, http_client will follow HTTP 302 Redirects. If
set to 0, http_client will not follow redirects. Default is 1, enabled.
- The latest redirect URL will be stored in the $curlredirect
- pseudovariable.
-
Example 1.1. Set httpredirect parameter
...
modparam("http_client", "httpredirect", 0)
diff --git a/modules/http_client/doc/http_client_admin.xml \
b/modules/http_client/doc/http_client_admin.xml index 1886d98..07b2d02 100644
--- a/modules/http_client/doc/http_client_admin.xml
+++ b/modules/http_client/doc/http_client_admin.xml
@@ -85,10 +85,6 @@
If set to 1, enabled, http_client will follow HTTP 302 Redirects.
If set to 0, http_client will not follow redirects. Default is 1, enabled.
</para>
- <para>
- The latest redirect URL will be stored in the <emphasis>$curlredirect</emphasis>
- pseudovariable.
- </para>
<example>
<title>Set <varname>httpredirect</varname> parameter</title>
<programlisting format="linespecific">
diff --git a/modules/http_client/http_client.c b/modules/http_client/http_client.c
index a416a3d..14f66cb 100644
--- a/modules/http_client/http_client.c
+++ b/modules/http_client/http_client.c
@@ -117,8 +117,6 @@ static int w_curl_connect_post(struct sip_msg* _m, char* _con, \
char * _url, char static int curl_con_param(modparam_t type, void* val);
static int pv_parse_curlerror(pv_spec_p sp, str *in);
static int pv_get_curlerror(struct sip_msg *msg, pv_param_t *param, pv_value_t \
*res);
-static int pv_parse_curlredirect(pv_spec_p sp, str *in);
-static int pv_get_curlredirect(struct sip_msg *msg, pv_param_t *param, pv_value_t \
*res);
/* Exported functions */
static cmd_export_t cmds[] = {
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic