Browse code

http_client Remove the last traces of $curlredirect

Will continue working with this in master

Olle E. Johansson authored on 30/03/2016 13:03:05
Showing 3 changed files
... ...
@@ -210,9 +210,6 @@ Chapter 1. Admin Guide
210 210
    If set to 1, enabled, http_client will follow HTTP 302 Redirects. If
211 211
    set to 0, http_client will not follow redirects. Default is 1, enabled.
212 212
 
213
-   The latest redirect URL will be stored in the $curlredirect
214
-   pseudovariable.
215
-
216 213
    Example 1.1. Set httpredirect parameter
217 214
 ...
218 215
 modparam("http_client", "httpredirect", 0)
... ...
@@ -85,10 +85,6 @@
85 85
 			If set to 1, enabled, http_client will follow HTTP 302 Redirects.
86 86
 			If set to 0, http_client will not follow redirects. Default is 1, enabled.
87 87
 			</para>
88
-			<para>
89
-			The latest redirect URL will be stored in the <emphasis>$curlredirect</emphasis>
90
-			pseudovariable.
91
-			</para>
92 88
 			<example>
93 89
 			<title>Set <varname>httpredirect</varname> parameter</title>
94 90
 				<programlisting format="linespecific">
... ...
@@ -117,8 +117,6 @@ static int w_curl_connect_post(struct sip_msg* _m, char* _con, char * _url, char
117 117
 static int curl_con_param(modparam_t type, void* val);
118 118
 static int pv_parse_curlerror(pv_spec_p sp, str *in);
119 119
 static int pv_get_curlerror(struct sip_msg *msg, pv_param_t *param, pv_value_t *res);
120
-static int pv_parse_curlredirect(pv_spec_p sp, str *in);
121
-static int pv_get_curlredirect(struct sip_msg *msg, pv_param_t *param, pv_value_t *res);
122 120
 
123 121
 /* Exported functions */
124 122
 static cmd_export_t cmds[] = {