aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-12-09 15:21:24 -0800
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-12-09 15:21:24 -0800
commit809647894648534bf25c1663867c8fcb2ad0e418 (patch)
tree2d142c5c81b4ad0c24e921155da8b483eac2e162 /test
parent3ca448925ba3df03ef872ac127b5e70ccd35c1af (diff)
parent9ee2eecd647a17a5bf37f273657e6b91ad0d8bd8 (diff)
Merge pull request #4338 from ctiller/init_settings
Cover more of settings frame
Diffstat (limited to 'test')
-rw-r--r--test/core/bad_client/tests/initial_settings_frame.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/core/bad_client/tests/initial_settings_frame.c b/test/core/bad_client/tests/initial_settings_frame.c
index 6ed15bbed1..129c667f71 100644
--- a/test/core/bad_client/tests/initial_settings_frame.c
+++ b/test/core/bad_client/tests/initial_settings_frame.c
@@ -94,7 +94,15 @@ int main(int argc, char **argv) {
/* some settings values are illegal */
/* max frame size = 0 */
GRPC_RUN_BAD_CLIENT_TEST(verifier,
- PFX_STR ONE_SETTING_HDR "\x00\x05\x00\x00\x00\x00", GRPC_BAD_CLIENT_DISCONNECT);
+ PFX_STR ONE_SETTING_HDR "\x00\x05\x00\x00\x00\x00",
+ GRPC_BAD_CLIENT_DISCONNECT);
+ GRPC_RUN_BAD_CLIENT_TEST(verifier,
+ PFX_STR ONE_SETTING_HDR "\x00\x06\xff\xff\xff\xff",
+ GRPC_BAD_CLIENT_DISCONNECT);
+ /* update intiial window size */
+ GRPC_RUN_BAD_CLIENT_TEST(verifier,
+ PFX_STR ONE_SETTING_HDR "\x00\x04\x00\x01\x00\x00",
+ GRPC_BAD_CLIENT_DISCONNECT);
return 0;
}