Skip to content

Commit

Permalink
bump to 0.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Apr 18, 2014
1 parent 776b97b commit b44bfc2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 15 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.12.1 - 2014/04/18
-------------------

- fix: return the full body on closed connections.

0.12.0 - 2014/04/18
-------------------

Expand Down
9 changes: 4 additions & 5 deletions 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.12.0
__Version:__ 0.12.1

# hackney

Expand Down Expand Up @@ -310,12 +310,12 @@ you to maintain a group of connections.

```
PoolName = mypool,
Options = [{timeout, 150000}, {pool_size, 100}],
{ok, Pid} = hackney_pool:start_pool(PoolName, Options),
Options = [{timeout, 150000}, {max_connections, 100}],
ok = hackney_pool:start_pool(PoolName, Options),
```

`timeout` is the time we keep the connection alive in the pool,
`pool_size` is the number of connections maintained in the pool. Each
`max_connections` is the number of connections maintained in the pool. Each
connection in a pool is monitored and closed connections are removed
automatically.

Expand Down Expand Up @@ -415,7 +415,6 @@ $ make devclean ; # clean all files
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_app.md" class="module">hackney_app</a></td></tr>
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_connect.md" class="module">hackney_connect</a></td></tr>
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_deps.md" class="module">hackney_deps</a></td></tr>
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_ets_lru.md" class="module">hackney_ets_lru</a></td></tr>
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_http_connect.md" class="module">hackney_http_connect</a></td></tr>
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_idna.md" class="module">hackney_idna</a></td></tr>
<tr><td><a href="http://github.com/benoitc/hackney/blob/master/doc/hackney_manager.md" class="module">hackney_manager</a></td></tr>
Expand Down
2 changes: 1 addition & 1 deletion doc/edoc-info
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%% encoding: UTF-8
{application,hackney}.
{packages,[]}.
{modules,[hackney,hackney_app,hackney_connect,hackney_deps,hackney_ets_lru,
{modules,[hackney,hackney_app,hackney_connect,hackney_deps,
hackney_http_connect,hackney_idna,hackney_manager,hackney_pool,
hackney_pool_handler,hackney_request,hackney_response,
hackney_socks5,hackney_ssl_transport,hackney_stream,hackney_sup,
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.12.0
@version 0.12.1
@title hackney - HTTP client library in Erlang

@doc
Expand Down
9 changes: 4 additions & 5 deletions doc/utf8/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.12.0
__Version:__ 0.12.1

# hackney

Expand Down Expand Up @@ -310,12 +310,12 @@ you to maintain a group of connections.

```
PoolName = mypool,
Options = [{timeout, 150000}, {pool_size, 100}],
{ok, Pid} = hackney_pool:start_pool(PoolName, Options),
Options = [{timeout, 150000}, {max_connections, 100}],
ok = hackney_pool:start_pool(PoolName, Options),
```

`timeout` is the time we keep the connection alive in the pool,
`pool_size` is the number of connections maintained in the pool. Each
`max_connections` is the number of connections maintained in the pool. Each
connection in a pool is monitored and closed connections are removed
automatically.

Expand Down Expand Up @@ -415,7 +415,6 @@ $ make devclean ; # clean all files
<tr><td><a href="hackney_app.md" class="module">hackney_app</a></td></tr>
<tr><td><a href="hackney_connect.md" class="module">hackney_connect</a></td></tr>
<tr><td><a href="hackney_deps.md" class="module">hackney_deps</a></td></tr>
<tr><td><a href="hackney_ets_lru.md" class="module">hackney_ets_lru</a></td></tr>
<tr><td><a href="hackney_http_connect.md" class="module">hackney_http_connect</a></td></tr>
<tr><td><a href="hackney_idna.md" class="module">hackney_idna</a></td></tr>
<tr><td><a href="hackney_manager.md" class="module">hackney_manager</a></td></tr>
Expand Down
4 changes: 2 additions & 2 deletions package.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Expm.Package.new(name: "hackney", description: "Simple HTTP client in Erlang",
version: "0.12.0", keywords: ["http","client","binary"],
version: "0.12.1", keywords: ["http","client","binary"],
dependencies: ["idna", "hackney_lib"],
licenses: [[name: "Apache License, Version 2.0", file: "LICENSE"]],
contributors: [[name: "Adam Rutkowski",
Expand Down Expand Up @@ -63,4 +63,4 @@ Expm.Package.new(name: "hackney", description: "Simple HTTP client in Erlang",
email: "[email protected]"]],
maintainers: [[name: "Benoit Chesneau",
email: "[email protected]"]],
repositories: [[github: "benoitc/hackney", tag: "0.12.0"]])
repositories: [[github: "benoitc/hackney", tag: "0.12.1"]])
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.12.0"},
{vsn, "0.12.1"},
{registered, [hackney_pool]},
{applications, [kernel,
stdlib,
Expand Down

0 comments on commit b44bfc2

Please sign in to comment.