Skip to content

Commit

Permalink
fix(ehttpc): call gun:start_link/3 after gun 1.3.19 is retagged
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Dec 17, 2023
1 parent 955fd45 commit bbd460d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ehttpc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ handle_gun_down(#state{requests = Requests} = State, KilledStreams, Reason) ->
State#state{requests = NRequests, gun_state = down}.

open(State = #state{host = Host, port = Port, gun_opts = GunOpts}) ->
case gun:start_link(self(), Host, Port, GunOpts) of
case gun:start_link(Host, Port, GunOpts) of
{ok, ConnPid} when is_pid(ConnPid) ->
{ok, State#state{client = ConnPid}};
{error, Reason} ->
Expand Down

0 comments on commit bbd460d

Please sign in to comment.