Fix headers_bad_client_test.

pull/6897/head
Mark D. Roth 9 years ago
parent 71f9665612
commit f67fc977f5
  1. 3
      src/core/ext/transport/chttp2/transport/parsing.c

@ -500,8 +500,7 @@ static grpc_error *init_frame_parser(
case GRPC_CHTTP2_FRAME_HEADER:
return init_header_frame_parser(exec_ctx, transport_parsing, 0);
case GRPC_CHTTP2_FRAME_CONTINUATION:
gpr_log(GPR_ERROR, "Unexpected CONTINUATION frame");
return 0;
return GRPC_ERROR_CREATE("Unexpected CONTINUATION frame");
case GRPC_CHTTP2_FRAME_RST_STREAM:
return init_rst_stream_parser(exec_ctx, transport_parsing);
case GRPC_CHTTP2_FRAME_SETTINGS:

Loading…
Cancel
Save