0
Fork 0
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:
Loïc Hoguin 2013-12-28 17:20:08 +01:00
parent 9f33a20d94
commit 0a439d0f03

View file

@ -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.