{"action":"reopened","issue":{"url":"https://api.github.com/repos/kamailio/kamailio/issues/541","repository_url":"https://api.github.com/repos/kamailio/kamailio","labels_url":"https://api.github.com/repos/kamailio/kamailio/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/kamailio/kamailio/issues/541/comments","events_url":"https://api.github.com/repos/kamailio/kamailio/issues/541/events","html_url":"https://github.com/kamailio/kamailio/issues/541","id":140124597,"number":541,"title":"module http_client - support setting default http proxy","user":{"login":"filiplx","id":369352,"avatar_url":"https://avatars.githubusercontent.com/u/369352?v=3","gravatar_id":"","url":"https://api.github.com/users/filiplx","html_url":"https://github.com/filiplx","followers_url":"https://api.github.com/users/filiplx/followers","following_url":"https://api.github.com/users/filiplx/following{/other_user}","gists_url":"https://api.github.com/users/filiplx/gists{/gist_id}","starred_url":"https://api.github.com/users/filiplx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiplx/subscriptions","organizations_url":"https://api.github.com/users/filiplx/orgs","repos_url":"https://api.github.com/users/filiplx/repos","events_url":"https://api.github.com/users/filiplx/events{/privacy}","received_events_url":"https://api.github.com/users/filiplx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kamailio/kamailio/labels/4.4","name":"4.4","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"oej","id":20310,"avatar_url":"https://avatars.githubusercontent.com/u/20310?v=3","gravatar_id":"","url":"https://api.github.com/users/oej","html_url":"https://github.com/oej","followers_url":"https://api.github.com/users/oej/followers","following_url":"https://api.github.com/users/oej/following{/other_user}","gists_url":"https://api.github.com/users/oej/gists{/gist_id}","starred_url":"https://api.github.com/users/oej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oej/subscriptions","organizations_url":"https://api.github.com/users/oej/orgs","repos_url":"https://api.github.com/users/oej/repos","events_url":"https://api.github.com/users/oej/events{/privacy}","received_events_url":"https://api.github.com/users/oej/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-03-11T08:47:27Z","updated_at":"2016-03-28T09:34:03Z","closed_at":null,"body":"The code on master branch is _almost_ done. What's missing is this:\r\n\r\n// In functions.c\r\n// curL_query_url()\r\n// before \"if (res != CURLE_OK) {\"\r\n\r\n    if (default_http_proxy != NULL) {\r\n        res |= curl_easy_setopt(curl, CURLOPT_PROXY, default_http_proxy);\r\n    }\r\n\r\n    if (default_http_proxy_port > 0) {\r\n        res |= curl_easy_setopt(curl, CURLOPT_PROXYPORT, default_http_proxy_port);\r\n    }\r\n"}}