Skip to content

Commit fb11144

Browse files
authored
Merge pull request #478 from Aaron-Benson/master
Fix for no case clause matching {error,{poorly_formatted_size,"AAE "}}
2 parents a6d6adc + de51007 commit fb11144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackney_http.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ read_size(Data) ->
447447
case read_size(Data, [], true) of
448448
{ok, Line, Rest} ->
449449
case io_lib:fread("~16u", Line) of
450-
{ok, [Size], []} ->
450+
{ok, [Size], _} ->
451451
{ok, Size, Rest};
452452
_ ->
453453
{error, {poorly_formatted_size, Line}}

0 commit comments

Comments
 (0)