Skip to content
Snippets Groups Projects
Commit 03df7f65 authored by yangg's avatar yangg Committed by Tim Emiola
Browse files

Fix hostname for streaming.

	Change on 2015/01/07 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83448769
parent 9f312b49
No related branches found
No related tags found
No related merge requests found
......@@ -170,10 +170,8 @@ StreamContextInterface* Channel::CreateStream(const RpcMethod& method,
ClientContext* context,
const google::protobuf::Message* request,
google::protobuf::Message* result) {
grpc_call* call =
grpc_channel_create_call(c_channel_, method.name(),
// FIXME(yangg)
"localhost", context->RawDeadline());
grpc_call* call = grpc_channel_create_call(
c_channel_, method.name(), target_.c_str(), context->RawDeadline());
context->set_call(call);
grpc_completion_queue* cq = grpc_completion_queue_create();
context->set_cq(cq);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment