Skip to content

Commit d59b422

Browse files
committed
fix: remove unused variable warning and bump version to 1.24.1
1 parent 30447da commit d59b422

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# NEWS
22

3+
1.24.1 - 2025-05-26
4+
-------------------
5+
6+
- fix: remove unused variable warning in hackney.erl
7+
38
1.24.0 - 2025-05-26
49
-------------------
510

src/hackney.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{application, hackney,
55
[
66
{description, "simple HTTP client"},
7-
{vsn, "1.24.0"},
7+
{vsn, "1.24.1"},
88
{registered, [hackney_pool]},
99
{applications, [kernel,
1010
stdlib,

src/hackney.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ do_connect(ProxyHost, ProxyPort, {ProxyUser, ProxyPass}, Transport, Host, Port,
865865

866866
maybe_redirect({ok, _}=Resp, _Req) -> Resp;
867867
maybe_redirect(
868-
{ok, S, H, #client{headers=Headers, follow_redirect=true, retries=Tries}=Client}=Resp,
868+
{ok, S, _H, #client{headers=Headers, follow_redirect=true, retries=Tries}=Client}=Resp,
869869
Req
870870
) when Tries > 0 ->
871871
%% check if the given location is an absolute url,

0 commit comments

Comments
 (0)