Browse Source

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.


svn:r5988

Roger Dingledine 19 years ago
parent
commit
97571a1cb4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/or/directory.c

+ 2 - 1
src/or/directory.c

@@ -954,7 +954,8 @@ connection_dir_client_reached_eof(connection_t *conn)
     /* 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;