aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-07 11:52:12 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-07 11:52:12 -0800
commit09c2d6dff07b3a38e020d94f244180d1535d20ac (patch)
treef66202e5c3eb1fef4970aca3be3a94b58cd49109
parente219e02fd15ed13d7d5f3dab0e0180cbb3fc9c2b (diff)
Add a test of illegal continuation frames
-rw-r--r--test/core/bad_client/tests/headers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/core/bad_client/tests/headers.c b/test/core/bad_client/tests/headers.c
index 1095ecafac..1d18a8241a 100644
--- a/test/core/bad_client/tests/headers.c
+++ b/test/core/bad_client/tests/headers.c
@@ -189,6 +189,11 @@ int main(int argc, char **argv) {
"\x00\x00\x00\x01\x00\x00\x00\x00\x01"
"\x00\x00\x00\x00\x04\x00\x00\x00\x01",
0);
+ /* opening with a continuation frame */
+ GRPC_RUN_BAD_CLIENT_TEST(verifier,
+ PFX_STR
+ "\x00\x00\x00\x09\x04\x00\x00\x00\x01",
+ 0);
return 0;
}