aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTony Han <[email protected]>2019-07-26 10:07:00 +0800
committerLoïc Hoguin <[email protected]>2019-07-26 10:05:30 +0200
commit22cc88bae4b05315edd4c2e6378ec0cbbc3b2c25 (patch)
tree8fac593d2fa4c827e9ac730298c0fb074fe07b91 /test
parent5829f1b9acafd96812e55a289d5b68ffb56899b0 (diff)
downloadcowboy-22cc88bae4b05315edd4c2e6378ec0cbbc3b2c25.tar.gz
cowboy-22cc88bae4b05315edd4c2e6378ec0cbbc3b2c25.tar.bz2
cowboy-22cc88bae4b05315edd4c2e6378ec0cbbc3b2c25.zip
Add a zero-length DATA frame in the lingering_data test
Diffstat (limited to 'test')
-rw-r--r--test/rfc7540_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
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),