Skip to content

Commit 90a1fe4

Browse files
committed
remobe uncompatible options with tls 1.3
1 parent c34c402 commit 90a1fe4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hackney_ssl.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ connect(Host, Port, Opts) ->
136136

137137
connect(Host, Port, Opts, Timeout) when is_list(Host), is_integer(Port),
138138
(Timeout =:= infinity orelse is_integer(Timeout)) ->
139-
BaseOpts = [binary, {active, false}, {packet, raw},
140-
{secure_renegotiate, true},
141-
{reuse_sessions, true}],
139+
BaseOpts = [binary, {active, false}, {packet, raw}],
142140
Opts1 = hackney_util:merge_opts(BaseOpts, Opts),
143141
%% connect
144142
ssl:connect(parse_address(Host), Port, Opts1, Timeout).

0 commit comments

Comments
 (0)