Get the test passing by commenting out some writes (should they be removed?)

This commit is contained in:
Neal Norwitz 2007-08-26 21:40:16 +00:00
parent e472933e27
commit 15d4e56c40
1 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ class threadedEchoServer(threading.Thread):
self.server.stop() self.server.stop()
self.running = False self.running = False
else: else:
sys.stdout.write("\nserver: %s\n" % msg.strip().lower()) #sys.stdout.write("\nserver: %s\n" % msg.strip().lower())
sslconn.write(msg.lower()) sslconn.write(msg.lower())
except ssl.sslerror: except ssl.sslerror:
sys.stdout.write("Test server failure:\n" + string.join( sys.stdout.write("Test server failure:\n" + string.join(
@ -235,7 +235,7 @@ class threadedEchoServer(threading.Thread):
while self.active: while self.active:
try: try:
newconn, connaddr = self.sock.accept() newconn, connaddr = self.sock.accept()
sys.stdout.write('\nserver: new connection from ' + str(connaddr) + '\n') #sys.stdout.write('\nserver: new connection from ' + str(connaddr) + '\n')
handler = self.connectionHandler(self, newconn) handler = self.connectionHandler(self, newconn)
handler.start() handler.start()
except socket.timeout: except socket.timeout: