mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Add a zero-length DATA frame in the lingering_data test
This commit is contained in:
parent
5829f1b9ac
commit
22cc88bae4
1 changed files with 1 additions and 0 deletions
|
@ -3153,6 +3153,7 @@ lingering_data_counts_toward_connection_window(Config0) ->
|
|||
% Make sure server send RST_STREAM.
|
||||
timer:sleep(100),
|
||||
ok = gen_tcp:send(Socket, [
|
||||
cow_http2:data(1, nofin, <<0:0/unit:8>>),
|
||||
cow_http2:data(1, fin, <<0:1000/unit:8>>)
|
||||
]),
|
||||
{ok, << SkipLen:24, 1:8, _:8, 1:32 >>} = gen_tcp:recv(Socket, 9, 1000),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue