From 4eb5ab00a17cb027210323874489abcc4454c4af Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Thu, 15 Aug 2024 16:15:31 +0200 Subject: [PATCH] fix: tls connection fails when we supply any ssl options to httpc --- src/erlazure.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/erlazure.erl b/src/erlazure.erl index 414eb17..93cf6bd 100644 --- a/src/erlazure.erl +++ b/src/erlazure.erl @@ -592,7 +592,7 @@ execute_request(ServiceContext = #service_context{}, ReqContext = #req_context{} Response = httpc:request(ReqContext#req_context.method, erlazure_http:create_request(ReqContext, [AuthHeader | Headers1]), - [{version, "HTTP/1.1"}, {ssl, [{versions, ['tlsv1.2']}]}], + [{version, "HTTP/1.1"}], [{sync, true}, {body_format, binary}, {headers_as_is, true}]), case Response of {ok, {{_, Code, _}, _, Body}}