Mercurial > public > mercurial-scm > hg-stable
diff tests/tinyproxy.py @ 32934:88c1d13b637b
test-http-proxy: redirect proxy stdout to /dev/null
This output hasn't been getting flushed, but would alter the log if it ever grew
large enough. See 23b07333a8b2.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 19 Jun 2017 21:53:54 -0400 |
parents | 23b07333a8b2 |
children | 97e2442a4595 |
line wrap: on
line diff
--- a/tests/tinyproxy.py Mon Jun 19 21:44:23 2017 -0400 +++ b/tests/tinyproxy.py Mon Jun 19 21:53:54 2017 -0400 @@ -54,6 +54,7 @@ self.requestline, str(code), str(size), ''.join([' %s:%s' % h for h in sorted(xheaders)])) # Flush for Windows, so output isn't lost on TerminateProcess() + sys.stdout.flush() sys.stderr.flush() def _connect_to(self, netloc, soc):