Browse Source

Add a zero-length DATA frame in the lingering_data test

Tony Han 5 years ago
parent
commit
22cc88bae4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/rfc7540_SUITE.erl

+ 1 - 0
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),