##// END OF EJS Templates
tinyproxy: explicitly flush logged messages...
Matt Harbison -
r32906:23b07333 default
parent child Browse files
Show More
@@ -53,6 +53,8 b' class ProxyHandler (httpserver.basehttpr'
53 self.log_message('"%s" %s %s%s',
53 self.log_message('"%s" %s %s%s',
54 self.requestline, str(code), str(size),
54 self.requestline, str(code), str(size),
55 ''.join([' %s:%s' % h for h in sorted(xheaders)]))
55 ''.join([' %s:%s' % h for h in sorted(xheaders)]))
56 # Flush for Windows, so output isn't lost on TerminateProcess()
57 sys.stderr.flush()
56
58
57 def _connect_to(self, netloc, soc):
59 def _connect_to(self, netloc, soc):
58 i = netloc.find(':')
60 i = netloc.find(':')
General Comments 0
You need to be logged in to leave comments. Login now