##// END OF EJS Templates
test-http-proxy: redirect proxy stdout to /dev/null...
Matt Harbison -
r32916:88c1d13b default
parent child Browse files
Show More
@@ -8,7 +8,7
8 8 $ hg serve --config server.uncompressed=True -p $HGPORT -d --pid-file=hg.pid
9 9 $ cat hg.pid >> $DAEMON_PIDS
10 10 $ cd ..
11 $ tinyproxy.py $HGPORT1 localhost >proxy.log 2>&1 </dev/null &
11 $ tinyproxy.py $HGPORT1 localhost 2>proxy.log >/dev/null </dev/null &
12 12 $ while [ ! -f proxy.pid ]; do sleep 0; done
13 13 $ cat proxy.pid >> $DAEMON_PIDS
14 14
@@ -54,6 +54,7 class ProxyHandler (httpserver.basehttpr
54 54 self.requestline, str(code), str(size),
55 55 ''.join([' %s:%s' % h for h in sorted(xheaders)]))
56 56 # Flush for Windows, so output isn't lost on TerminateProcess()
57 sys.stdout.flush()
57 58 sys.stderr.flush()
58 59
59 60 def _connect_to(self, netloc, soc):
General Comments 0
You need to be logged in to leave comments. Login now