mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-02-11 14:23:14 +01:00
Ticket refs #12190 :icwmp doesn't follow HTTP 302
This commit is contained in:
parent
0ad6defd8c
commit
cff928dae5
1 changed files with 1 additions and 1 deletions
2
http.c
2
http.c
|
|
@ -200,7 +200,7 @@ http_send_message(struct cwmp *cwmp, char *msg_out, int msg_out_len,char **msg_i
|
|||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, HTTP_TIMEOUT);
|
||||
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, HTTP_TIMEOUT);
|
||||
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
|
||||
curl_easy_setopt(curl, CURLOPT_NOBODY, 0);
|
||||
switch (cwmp->conf.compression) {
|
||||
case COMP_NONE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue