From b44bfc273c26951b440f4c87a09bcf65d319f05e Mon Sep 17 00:00:00 2001 From: benoitc Date: Fri, 18 Apr 2014 14:10:29 +0200 Subject: [PATCH] bump to 0.12.1 --- NEWS.md | 5 +++++ README.md | 9 ++++----- doc/edoc-info | 2 +- doc/overview.edoc | 2 +- doc/utf8/README.md | 9 ++++----- package.exs | 4 ++-- src/hackney.app.src | 2 +- 7 files changed, 18 insertions(+), 15 deletions(-) diff --git a/NEWS.md b/NEWS.md index 88d738a9..977bbf34 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 ------------------- diff --git a/README.md b/README.md index 57ab17f0..941f6e2e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Copyright (c) 2012-2014 Benoît Chesneau. -__Version:__ 0.12.0 +__Version:__ 0.12.1 # hackney @@ -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. @@ -415,7 +415,6 @@ $ make devclean ; # clean all files hackney_app hackney_connect hackney_deps -hackney_ets_lru hackney_http_connect hackney_idna hackney_manager diff --git a/doc/edoc-info b/doc/edoc-info index 9e514f05..ae6bbbd3 100644 --- a/doc/edoc-info +++ b/doc/edoc-info @@ -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, diff --git a/doc/overview.edoc b/doc/overview.edoc index 2164097b..4f73f80d 100644 --- a/doc/overview.edoc +++ b/doc/overview.edoc @@ -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 diff --git a/doc/utf8/README.md b/doc/utf8/README.md index 92cf5c3e..18ef18b1 100644 --- a/doc/utf8/README.md +++ b/doc/utf8/README.md @@ -4,7 +4,7 @@ Copyright (c) 2012-2014 Benoît Chesneau. -__Version:__ 0.12.0 +__Version:__ 0.12.1 # hackney @@ -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. @@ -415,7 +415,6 @@ $ make devclean ; # clean all files hackney_app hackney_connect hackney_deps -hackney_ets_lru hackney_http_connect hackney_idna hackney_manager diff --git a/package.exs b/package.exs index 9211cac9..5aa0bac3 100644 --- a/package.exs +++ b/package.exs @@ -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", @@ -63,4 +63,4 @@ Expm.Package.new(name: "hackney", description: "Simple HTTP client in Erlang", email: "rj@metabrew.com"]], maintainers: [[name: "Benoit Chesneau", email: "bchesneau@gmail.com"]], - repositories: [[github: "benoitc/hackney", tag: "0.12.0"]]) + repositories: [[github: "benoitc/hackney", tag: "0.12.1"]]) diff --git a/src/hackney.app.src b/src/hackney.app.src index df9ccfaa..51e4e56e 100644 --- a/src/hackney.app.src +++ b/src/hackney.app.src @@ -4,7 +4,7 @@ {application, hackney, [ {description, "simple HTTP client"}, - {vsn, "0.12.0"}, + {vsn, "0.12.1"}, {registered, [hackney_pool]}, {applications, [kernel, stdlib,