[or-cvs] don"t tell ordinary users about broken directory servers.
arma at seul.org
arma at seul.org
Sun Feb 12 23:31:50 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
directory.c
Log Message:
don't tell ordinary users about broken directory servers.
it's a shame that they're broken, but most people are just
confused by the warning.
Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.352
retrieving revision 1.353
diff -u -p -d -r1.352 -r1.353
--- directory.c 11 Feb 2006 23:16:13 -0000 1.352
+++ directory.c 12 Feb 2006 23:31:47 -0000 1.353
@@ -954,7 +954,8 @@ connection_dir_client_reached_eof(connec
/* If we're pretty sure that we have a compressed directory, and
* we didn't manage to uncompress it, then warn and bail. */
if (!plausible && !new_body) {
- warn(LD_HTTP, "Unable to decompress HTTP body (server '%s:%d').",
+ log(LOG_PROTOCOL_WARN, LD_HTTP,
+ "Unable to decompress HTTP body (server '%s:%d').",
conn->address, conn->port);
tor_free(body); tor_free(headers); tor_free(reason);
return -1;
More information about the tor-commits
mailing list