[tor-commits] [tor/master] Log even more to try to debug 22719

nickm at torproject.org nickm at torproject.org
Sat Jun 24 17:40:09 UTC 2017


commit acbe16a9a244d9745080ca435cc3587412920caa
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sat Jun 24 13:40:02 2017 -0400

    Log even more to try to debug 22719
---
 src/common/compress.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/common/compress.c b/src/common/compress.c
index 4e19080..472268a 100644
--- a/src/common/compress.c
+++ b/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;
   }



More information about the tor-commits mailing list