[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add an additional log message to try to diagnose #22719
commit 6caf924605fd8c79193605e1618109db51c43967
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Sat Jun 24 11:27:46 2017 -0400
Add an additional log message to try to diagnose #22719
---
src/common/compress.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/common/compress.c b/src/common/compress.c
index 7926faa..4e19080 100644
--- a/src/common/compress.c
+++ b/src/common/compress.c
@@ -574,6 +574,10 @@ tor_compress_process(tor_compress_state_t *state,
if (BUG((rv == TOR_COMPRESS_OK) &&
*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, "
+ "*out_len == out_len_orig == %lu",
+ (unsigned long)in_len_orig, (unsigned long)out_len_orig);
return TOR_COMPRESS_ERROR;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits