Skip to content

Commit

Permalink
Fix Issue #21
Browse files Browse the repository at this point in the history
  • Loading branch information
Kozlov Yakov committed Nov 7, 2018
1 parent 4ac71aa commit 24295a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lhttpc_client.erl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ execute(From, Host, Port, Ssl, Path, Method, Hdrs0, Body, Options) ->
% get the socket connect settings from client or use defaults
% unfold all atoms and allow users to overwrite a single param only
DefOptions = proplists:unfold(application:get_env(lhttpc, connect_options, [])),
DefTimeout = proplists:get_value(connect_timeout, DefOptions, infinity),
DefTimeout = application:get_env(lhttpc, connect_timeout, infinity),
UserOptions = proplists:unfold(proplists:get_value(connect_options, Options, [])),
EffectiveTcpOptions0 = lists:ukeymerge(1,
lists:ukeysort(1, UserOptions),
Expand Down

0 comments on commit 24295a1

Please sign in to comment.