瀏覽代碼

Log even more to try to debug 22719

Nick Mathewson 7 年之前
父節點
當前提交
acbe16a9a2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/common/compress.c

+ 3 - 1
src/common/compress.c

@@ -575,8 +575,10 @@ tor_compress_process(tor_compress_state_t *state,
           *in_len == in_len_orig &&
           *out_len == out_len_orig)) {
     log_warn(LD_GENERAL,
-             "More info on the bug: *in_len == in_len_orig == %lu, "
+             "More info on the bug: method == %s, finish == %d, "
+             " *in_len == in_len_orig == %lu, "
              "*out_len == out_len_orig == %lu",
+             compression_method_get_human_name(state->method), finish,
              (unsigned long)in_len_orig, (unsigned long)out_len_orig);
     return TOR_COMPRESS_ERROR;
   }