diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-12-09 09:17:07 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-12-09 09:17:07 -0800 |
commit | 913c151dadcb3a1bd2c89a81fbe2485ba09820bd (patch) | |
tree | f513b84a497b5de8b1b8af52cc8ad567e1bf29cd /test/core | |
parent | e1719ee01d260f0bc1ec741f37ea1d86596b320e (diff) |
Expand continuation testing
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/bad_client/tests/headers.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/core/bad_client/tests/headers.c b/test/core/bad_client/tests/headers.c index 39ce7838de..461a05a83e 100644 --- a/test/core/bad_client/tests/headers.c +++ b/test/core/bad_client/tests/headers.c @@ -262,6 +262,13 @@ 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); + /* non-ending header followed by a continuation frame for a different stream */ + GRPC_RUN_BAD_CLIENT_TEST(verifier, + PFX_STR + "\x00\x00\x00\x01\x04\x00\x00\x00\x01" + "\x00\x00\x00\x01\x00\x00\x00\x00\x03" + "\x00\x00\x00\x09\x04\x00\x00\x00\x01", + GRPC_BAD_CLIENT_DISCONNECT); /* opening with a continuation frame */ GRPC_RUN_BAD_CLIENT_TEST(verifier, PFX_STR |