Skip to content

Commit

Permalink
fix hackney:stop_async/1
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Oct 28, 2014
1 parent 13d7cef commit f25bcbf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# NEWS

0.14.3 - 2014/10/28
-------------------

- fix `hackney:stop_async/1`

0.14.2 - 2014/10/27
-------------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Copyright (c) 2012-2014 Benoît Chesneau.

__Version:__ 0.14.2
__Version:__ 0.14.3

# hackney

Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Copyright (c) 2012-2014 Benoît Chesneau.

__Version:__ 0.14.2
__Version:__ 0.14.3

# hackney

Expand Down
2 changes: 1 addition & 1 deletion doc/overview.edoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


@copyright 2012-2014 Benoît Chesneau.
@version 0.14.2
@version 0.14.3
@title hackney - HTTP client library in Erlang

@doc
Expand Down
2 changes: 1 addition & 1 deletion src/hackney.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{application, hackney,
[
{description, "simple HTTP client"},
{vsn, "0.14.2"},
{vsn, "0.14.3"},
{registered, [hackney_pool]},
{applications, [kernel,
stdlib,
Expand Down
2 changes: 1 addition & 1 deletion src/hackney_client/hackney_manager.erl
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ handle_call({stop_async_response, Ref, To}, _From, Pids) ->
{ok, Ref};
[{Ref, {Owner, Stream}}] ->
%% tell to the stream to stop
Stream ! {Ref, stop_async, To},
Stream ! {Ref, stop_async, self()},
receive
{Ref, ok} ->
%% if the stream return, we unlink it and update the
Expand Down

0 comments on commit f25bcbf

Please sign in to comment.