From cf2b00d3f50f3421c3c22777113e25d5f7812e67 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 6 Aug 2019 01:33:14 +1000 Subject: test/rebind: Make control formatting and log parsing more robust * actually sleep when tor has not logged anything * log at debug level when waiting for tor to log something * backslash-replace bad UTF-8 characters in logs * format control messages as ASCII: tor does not accept UTF-8 control commands Fixes bug 31837; bugfix on 0.3.5.1-alpha. --- changes/bug31837 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/bug31837 (limited to 'changes') diff --git a/changes/bug31837 b/changes/bug31837 new file mode 100644 index 0000000000..0f976edfe0 --- /dev/null +++ b/changes/bug31837 @@ -0,0 +1,5 @@ + o Minor bugfixes (testing): + - When testing port rebinding, don't busy-wait for tor to log. Instead, + actually sleep for a short time before polling again. Also improve the + formatting of control commands and log messages. + Fixes bug 31837; bugfix on 0.3.5.1-alpha. -- cgit v1.2.3-54-g00ecf