aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/transport/chttp2
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-10-30 12:05:32 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-10-30 12:05:32 -0700
commit48c3c964b1c39cd5e0b85387ac85df38bb9db67b (patch)
treef1892c09cd5ea0663beb162060619faccb080f9d /src/core/ext/transport/chttp2
parent830c7bb4596342c2f093f7b49b631f0b3c5ff53d (diff)
supress errors for uri parser
Diffstat (limited to 'src/core/ext/transport/chttp2')
-rw-r--r--src/core/ext/transport/chttp2/transport/chttp2_transport.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc
index c0539a3146..5168e4555e 100644
--- a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc
+++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc
@@ -400,7 +400,7 @@ static bool read_channel_args(grpc_chttp2_transport* t,
char* host = nullptr;
int port_num = -1;
// try to pick out just the host port (maybe trims off scheme prefix).
- grpc_uri* uri = grpc_uri_parse(t->peer_string, false);
+ grpc_uri* uri = grpc_uri_parse(t->peer_string, true);
// if peer string was a valid URI, we can use our lib to do the trimming.
if (uri != nullptr) {
const char* host_port = uri->path;