浏览代码

http_client Remove the last traces of $curlredirect

Will continue working with this in master
Olle E. Johansson 9 年之前
父节点
当前提交
6bd9386e00
共有 3 个文件被更改,包括 0 次插入9 次删除
  1. 0 3
      modules/http_client/README
  2. 0 4
      modules/http_client/doc/http_client_admin.xml
  3. 0 2
      modules/http_client/http_client.c

+ 0 - 3
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)

+ 0 - 4
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">

+ 0 - 2
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[] = {