浏览代码

Improve log message on unrecognized encoding to indicate that we can cope.

svn:r3676
Nick Mathewson 20 年之前
父节点
当前提交
2adee31a26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/directory.c

+ 1 - 1
src/or/directory.c

@@ -545,7 +545,7 @@ parse_http_response(const char *headers, int *code, time_t *date,
     } else if (!strcmp(enc, "gzip") || !strcmp(enc, "x-gzip")) {
       *compression = GZIP_METHOD;
     } else {
-      log_fn(LOG_INFO, "Unrecognized content encoding: '%s'", enc);
+      log_fn(LOG_INFO, "Unrecognized content encoding: '%s'. Trying to deal.", enc);
       *compression = -1;
     }
   }