0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Fix more HTTP/2 handshake test cases

This commit is contained in:
Loïc Hoguin 2016-03-13 11:18:27 +01:00
parent 4e6a4ee53f
commit 2620d65fde
5 changed files with 62 additions and 36 deletions

View file

@ -384,7 +384,6 @@ read_body(Req=#{pid := Pid, streamid := StreamID}, Opts) ->
end,
Ref = make_ref(),
Pid ! {{Pid, StreamID}, {read_body, Ref, Length}},
% io:format("READ_BODY ~p ~p ~p ~p~n", [Pid, StreamID, Ref, Length]),
receive
{request_body, Ref, nofin, Body} ->
{more, Body, Req};