From 8fc795abd71a2399770bde8a7b43b3a359652a75 Mon Sep 17 00:00:00 2001 From: Thiago Farina Date: Mon, 31 Oct 2016 08:54:25 +0000 Subject: 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 --- src/main/cpp/blaze.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/cpp') 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'. -- cgit v1.2.3