From: Nick Porter Date: Fri, 9 Dec 2022 09:57:24 +0000 (+0000) Subject: Don't set CURLOPT_PROTOCOLS twice X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e658fb3b9f3d8ffb3e8a23da0ed13a34ce43ca79;p=thirdparty%2Ffreeradius-server.git Don't set CURLOPT_PROTOCOLS twice --- diff --git a/src/modules/rlm_rest/rest.c b/src/modules/rlm_rest/rest.c index 25a0188f2eb..def065262b5 100644 --- a/src/modules/rlm_rest/rest.c +++ b/src/modules/rlm_rest/rest.c @@ -1783,7 +1783,6 @@ int rest_request_config(module_ctx_t const *mctx, rlm_rest_section_t const *sect fr_box_time_delta(timeout), fr_box_time_delta(section->timeout)); FR_CURL_SET_OPTION(CURLOPT_CONNECTTIMEOUT_MS, fr_time_delta_to_msec(timeout)); FR_CURL_SET_OPTION(CURLOPT_TIMEOUT_MS, fr_time_delta_to_msec(section->timeout)); - FR_CURL_SET_OPTION(CURLOPT_PROTOCOLS, (CURLPROTO_HTTP | CURLPROTO_HTTPS)); /* * FreeRADIUS custom headers