]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't set CURLOPT_PROTOCOLS twice
authorNick Porter <nick@portercomputing.co.uk>
Fri, 9 Dec 2022 09:57:24 +0000 (09:57 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 9 Dec 2022 09:57:24 +0000 (09:57 +0000)
src/modules/rlm_rest/rest.c

index 25a0188f2ebf326414cd84053c0a4a4e1e57b6b8..def065262b56c39f2fc402f50f8c16c34e3d0d7a 100644 (file)
@@ -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