Skip to content
Snippets Groups Projects
Commit df1c5d68 authored by Craig Tiller's avatar Craig Tiller
Browse files

Update to use correct error constructor

parent 8dff58c2
No related branches found
No related tags found
No related merge requests found
......@@ -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 =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment