Update to use correct error constructor

pull/9840/head
Craig Tiller 8 years ago
parent 8dff58c2f3
commit df1c5d6826
  1. 2
      src/core/ext/transport/chttp2/transport/parsing.c

@ -660,7 +660,7 @@ static grpc_error *init_header_frame_parser(grpc_exec_ctx *exec_ctx,
} else if (grpc_chttp2_stream_map_size(&t->stream_map) >=
t->settings[GRPC_ACKED_SETTINGS]
[GRPC_CHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS]) {
return GRPC_ERROR_CREATE("Max stream count exceeded");
return GRPC_ERROR_CREATE_FROM_STATIC_STRING("Max stream count exceeded");
}
t->last_new_stream_id = t->incoming_stream_id;
s = t->incoming_stream =

Loading…
Cancel
Save