aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp
diff options
context:
space:
mode:
authorGravatar Thiago Farina <tfarina@chromium.org>2016-10-31 08:54:25 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2016-10-31 09:41:07 +0000
commit8fc795abd71a2399770bde8a7b43b3a359652a75 (patch)
tree404b1f932c60a9cd5be636a82b06d3eea172fcd0 /src/main/cpp
parent9b61b0f91f72b71c13ca529a4629c392e14b693e (diff)
remove references to "server.socket" file
The C++ client now talks to the Java server through protobuf messages using the RPC mechanism provided by grpc, so this AF_UNIX socket file is not used anymore for the communication between them since commit a3c4833dc24b: ("Remove support for using AF_UNIX..."). -- Change-Id: Ic71e4c65ebb6bb2e661128635c2440007feaf5f6 Reviewed-on: https://bazel-review.googlesource.com/#/c/7030/ MOS_MIGRATED_REVID=137679905
Diffstat (limited to 'src/main/cpp')
-rw-r--r--src/main/cpp/blaze.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc
index f936484c44..4c2db0968c 100644
--- a/src/main/cpp/blaze.cc
+++ b/src/main/cpp/blaze.cc
@@ -763,8 +763,6 @@ static void StartServerAndConnect(BlazeServer *server) {
"server directory '%s' could not be created", server_dir.c_str());
}
- string socket_file = blaze_util::JoinPath(server_dir, "server.socket");
-
// If we couldn't connect to the server check if there is still a PID file
// and if so, kill the server that wrote it. This can happen e.g. if the
// server is in a GC pause and therefore cannot respond to ping requests and
@@ -811,8 +809,7 @@ static void StartServerAndConnect(BlazeServer *server) {
}
}
die(blaze_exit_code::INTERNAL_ERROR,
- "\nError: couldn't connect to server at '%s' after 60 seconds.",
- socket_file.c_str());
+ "\nError: couldn't connect to server after 60 seconds.");
}
// Calls fsync() on the file (or directory) specified in 'file_path'.