|
From: <sv...@va...> - 2014-02-05 13:21:12
|
Author: sewardj
Date: Wed Feb 5 13:20:58 2014
New Revision: 13788
Log:
Show a line in the output log when the client connects but the
requested file is not found by the server. This makes it easier to
diagnose client--server communications problems.
Modified:
trunk/auxprogs/valgrind-di-server.c
Modified: trunk/auxprogs/valgrind-di-server.c
==============================================================================
--- trunk/auxprogs/valgrind-di-server.c (original)
+++ trunk/auxprogs/valgrind-di-server.c Wed Feb 5 13:20:58 2014
@@ -743,6 +743,8 @@
fd = open((char*)filename, O_RDONLY);
if (fd == -1) {
res = mk_Frame_asciiz("FAIL", "OPEN: cannot open file");
+ printf("(%d) SessionID %llu: open failed for \"%s\"\n",
+ conn_count, conn_state[conn_no].session_id, filename );
ok = False;
} else {
assert(fd > 2);
|