From 22cc88bae4b05315edd4c2e6378ec0cbbc3b2c25 Mon Sep 17 00:00:00 2001 From: Tony Han Date: Fri, 26 Jul 2019 10:07:00 +0800 Subject: Add a zero-length DATA frame in the lingering_data test --- test/rfc7540_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'test/rfc7540_SUITE.erl') diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl index 9f36b5b..fe0c4ef 100644 --- a/test/rfc7540_SUITE.erl +++ b/test/rfc7540_SUITE.erl @@ -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), -- cgit v1.2.3