aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop/http2_client.cc
diff options
context:
space:
mode:
authorGravatar Paul Marks <pmarks@google.com>2017-02-07 16:28:09 -0800
committerGravatar Paul Marks <pmarks@google.com>2017-02-07 16:28:09 -0800
commit3a5bba0a2034a2dffbfeb7a30281f8ac43d5ce59 (patch)
tree42a11d43afae17510bc722fa41ec59ca59137990 /test/cpp/interop/http2_client.cc
parent86e3a5490062fc0c004ad1f2c0a72a38b13c83b1 (diff)
Connect to "localhost" from interop clients.
This is for compatibility with IPv6-only environments; see the Google bug b/32531998. Note that InteropClient.cs and http2_client.cc don't appear to be tested by our internal branch, but I've included them for consistency.
Diffstat (limited to 'test/cpp/interop/http2_client.cc')
-rw-r--r--test/cpp/interop/http2_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/interop/http2_client.cc b/test/cpp/interop/http2_client.cc
index 38aee43b26..b96e9fac36 100644
--- a/test/cpp/interop/http2_client.cc
+++ b/test/cpp/interop/http2_client.cc
@@ -223,7 +223,7 @@ bool Http2Client::DoMaxStreams() {
} // namespace grpc
DEFINE_int32(server_port, 0, "Server port.");
-DEFINE_string(server_host, "127.0.0.1", "Server host to connect to");
+DEFINE_string(server_host, "localhost", "Server host to connect to");
DEFINE_string(test_case, "rst_after_header",
"Configure different test cases. Valid options are:\n\n"
"goaway\n"