Skip to content

Commit

Permalink
http_client Add some debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
oej committed Apr 2, 2016
1 parent 03586ae commit 19708f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/http_client/functions.c
Expand Up @@ -211,6 +211,9 @@ static int curL_query_url(struct sip_msg* _m, const char* _url, str* _dst, const
res |= curl_easy_setopt(curl, CURLOPT_NOSIGNAL, (long) 1);
res |= curl_easy_setopt(curl, CURLOPT_TIMEOUT, (long) params->timeout);
res |= curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, (long) params->http_follow_redirect);
if (params->http_follow_redirect) {
LM_DBG("****** ##### Following redirects for this request! \n");
}


res |= curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_function);
Expand Down

0 comments on commit 19708f2

Please sign in to comment.