mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Fix the SPDY suite for R15
This commit is contained in:
parent
9f33a20d94
commit
0a439d0f03
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ quick_get(Pid, Host, Path) ->
|
||||||
error(Reason);
|
error(Reason);
|
||||||
{gun_response, Pid, StreamRef, IsFin,
|
{gun_response, Pid, StreamRef, IsFin,
|
||||||
<< Status:3/binary, _/bits >>, Headers} ->
|
<< Status:3/binary, _/bits >>, Headers} ->
|
||||||
{IsFin, binary_to_integer(Status), Headers}
|
{IsFin, list_to_integer(binary_to_list(Status)), Headers}
|
||||||
after 1000 ->
|
after 1000 ->
|
||||||
error(timeout)
|
error(timeout)
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue