Update HTTP Client cURL implementation:

Added the option to set cipher list used to negotiate security settings
(SSL handshake)
This commit is contained in:
jvelilla
2017-09-14 10:21:32 -03:00
parent 6425482070
commit c2764e25ff
2 changed files with 21 additions and 0 deletions

View File

@@ -372,6 +372,11 @@ feature -- Execution
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_ssl_verifypeer, 0)
end
--| Cipher List
if attached session.cipher_list as c_list then
curl_easy.setopt_string (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_ssl_cipher_list, c_list )
end
--| Request method
if request_method.is_case_insensitive_equal ("GET") then
curl_easy.setopt_integer (curl_handle, {CURL_OPT_CONSTANTS}.curlopt_httpget, 1)