diff options
author | Makarand Dharmapurikar <makarandd@google.com> | 2016-06-14 16:30:58 -0700 |
---|---|---|
committer | Makarand Dharmapurikar <makarandd@google.com> | 2016-06-14 16:30:58 -0700 |
commit | 88651de8a713b068eaf499d36bf0b67c0cc9e8e3 (patch) | |
tree | 53cdab50ede44747a1c7d79169a3221a8637fd52 /src/objective-c/GRPCClient/private | |
parent | febfd32af9a920b840f6b5684247b7e005552f7c (diff) |
Fixes #2646
Pass NULL in the host parameter of grpc_channel_create_call
Diffstat (limited to 'src/objective-c/GRPCClient/private')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCChannel.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m index d3192c983d..6cd4cb0ca3 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannel.m +++ b/src/objective-c/GRPCClient/private/GRPCChannel.m @@ -199,9 +199,7 @@ grpc_channel_args * buildChannelArgs(NSDictionary *dictionary) { NULL, GRPC_PROPAGATE_DEFAULTS, queue.unmanagedQueue, path.UTF8String, - // Get "host" from "host:port" - // TODO(jcanizales): Use NSURLs throughout, to clarify these. - [_host componentsSeparatedByString:@":"][0].UTF8String, + NULL, gpr_inf_future(GPR_CLOCK_REALTIME), NULL); } |