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, ...) */
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3484#issuecomment-1603728827
You are receiving this because you commented.
Message ID: <kamailio/kamailio/issues/3484/1603728...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org