Here is diff to get rid of the curl warning: ``` *** /usr/src/orig/kamailio/src/modules/http_client/functions.c 2023-06-21 13:15:29.682303834 +0300 --- src/opensipg-sip-proxy/src/modules/http_client/functions.c 2023-06-23 09:00:14.403813698 +0300 *************** *** 162,168 **** curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); #endif res = curl_easy_setopt( ! curl, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS);
if(_met != NULL) { /* Enforce method (GET, PUT, ...) */ --- 162,168 ---- curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); #endif res = curl_easy_setopt( ! curl, CURLOPT_REDIR_PROTOCOLS_STR, "http,https");
if(_met != NULL) { /* Enforce method (GET, PUT, ...) */ ```