diff --git a/NEWS.md b/NEWS.md index a2deb412..da13691d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,11 @@ # NEWS +1.18.0 - 2021-09-28 +------------------- + +- security: update default CA bundle +- fix pool: make checkout synchrounous (remove unwanted messages) + 1.17.4 - 2021-03-18 ------------------- diff --git a/README.md b/README.md index c30ed241..e7abdf45 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Copyright (c) 2012-2021 Benoît Chesneau. -__Version:__ 1.17.4 +__Version:__ 1.18.0 # hackney diff --git a/doc/README.md b/doc/README.md index e7bb5262..aa1a7f50 100644 --- a/doc/README.md +++ b/doc/README.md @@ -4,7 +4,7 @@ Copyright (c) 2012-2021 Benoît Chesneau. -__Version:__ 1.17.4 +__Version:__ 1.18.0 # hackney diff --git a/doc/hackney.md b/doc/hackney.md index ef853e59..3a680124 100644 --- a/doc/hackney.md +++ b/doc/hackney.md @@ -108,7 +108,7 @@ length doesn't go over MaxLength. ### cancel_request/1 ###
-cancel_request(Ref::client_ref()) -> {ok, {atom(), inet:socket(), binary(), hackney_response:response_state()}} | {error, term()}
+cancel_request(Ref::client_ref()) -> {ok, {atom(), inet:socket(), binary(), hackney_response:response_state()}} | {error, term()}
-date_to_rfc2109(X1::calendar:datetime()) -> binary()
+date_to_rfc2109(X1::calendar:datetime()) -> binary()
-http_socket() = {atom(), inet:socket()}
+http_socket() = {atom(), inet:socket()}
@@ -82,7 +82,7 @@ Atoms used to identify messages in {active, once | true} mode.
### peername/1 ###
-peername(X1::http_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+peername(X1::http_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-sockname(X1::http_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+sockname(X1::http_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-close(Socket::inet:socket()) -> ok
+close(Socket::inet:socket()) -> ok
-controlling_process(Socket::inet:socket(), Pid::pid()) -> ok | {error, closed | not_owner | atom()}
+controlling_process(Socket::inet:socket(), Pid::pid()) -> ok | {error, closed | not_owner | atom()}
-peername(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+peername(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-recv(Socket::inet:socket(), Length::non_neg_integer(), Timeout::timeout()) -> {ok, any()} | {error, closed | atom()}
+recv(Socket::inet:socket(), Length::non_neg_integer(), Timeout::timeout()) -> {ok, any()} | {error, closed | atom()}
-send(Socket::inet:socket(), Packet::iolist()) -> ok | {error, atom()}
+send(Socket::inet:socket(), Packet::iolist()) -> ok | {error, atom()}
-setopts(Socket::inet:socket(), Opts::list()) -> ok | {error, atom()}
+setopts(Socket::inet:socket(), Opts::list()) -> ok | {error, atom()}
-shutdown(Socket::inet:socket(), How::read | write | read_write) -> ok
+shutdown(Socket::inet:socket(), How::read | write | read_write) -> ok
-sockname(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+sockname(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-socks5_socket() = {atom(), inet:socket()}
+socks5_socket() = {atom(), inet:socket()}
@@ -85,7 +85,7 @@ Atoms used to identify messages in {active, once | true} mode.
### peername/1 ###
-peername(X1::socks5_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+peername(X1::socks5_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-sockname(X1::socks5_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+sockname(X1::socks5_socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-close(Socket::ssl:sslsocket()) -> ok
+close(Socket::ssl:sslsocket()) -> ok
-controlling_process(Socket::ssl:sslsocket(), Pid::pid()) -> ok | {error, closed | not_owner | atom()}
+controlling_process(Socket::ssl:sslsocket(), Pid::pid()) -> ok | {error, closed | not_owner | atom()}
-peername(Socket::ssl:sslsocket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+peername(Socket::ssl:sslsocket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-recv(Socket::ssl:sslsocket(), Length::non_neg_integer(), Timeout::timeout()) -> {ok, any()} | {error, closed | atom()}
+recv(Socket::ssl:sslsocket(), Length::non_neg_integer(), Timeout::timeout()) -> {ok, any()} | {error, closed | atom()}
-send(Socket::ssl:sslsocket(), Packet::iolist()) -> ok | {error, atom()}
+send(Socket::ssl:sslsocket(), Packet::iolist()) -> ok | {error, atom()}
-setopts(Socket::ssl:sslsocket(), Opts::list()) -> ok | {error, atom()}
+setopts(Socket::ssl:sslsocket(), Opts::list()) -> ok | {error, atom()}
-shutdown(Socket::ssl:sslsocket(), How::read | write | read_write) -> ok | {error, any()}
+shutdown(Socket::ssl:sslsocket(), How::read | write | read_write) -> ok | {error, any()}
-sockname(Socket::ssl:sslsocket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+sockname(Socket::ssl:sslsocket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-close(Socket::inet:socket()) -> ok
+close(Socket::inet:socket()) -> ok
-controlling_process(Socket::inet:socket(), Pid::pid()) -> ok | {error, closed | not_owner | atom()}
+controlling_process(Socket::inet:socket(), Pid::pid()) -> ok | {error, closed | not_owner | atom()}
-peername(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+peername(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
-recv(Socket::inet:socket(), Length::non_neg_integer(), Timeout::timeout()) -> {ok, any()} | {error, closed | atom()}
+recv(Socket::inet:socket(), Length::non_neg_integer(), Timeout::timeout()) -> {ok, any()} | {error, closed | atom()}
-send(Socket::inet:socket(), Packet::iolist()) -> ok | {error, atom()}
+send(Socket::inet:socket(), Packet::iolist()) -> ok | {error, atom()}
-setopts(Socket::inet:socket(), Opts::list()) -> ok | {error, atom()}
+setopts(Socket::inet:socket(), Opts::list()) -> ok | {error, atom()}
-shutdown(Socket::inet:socket(), How::read | write | read_write) -> ok
+shutdown(Socket::inet:socket(), How::read | write | read_write) -> ok
-sockname(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}
+sockname(Socket::inet:socket()) -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}