Commit 15d4e56c authored by Neal Norwitz's avatar Neal Norwitz

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

parent e472933e
...@@ -194,7 +194,7 @@ class threadedEchoServer(threading.Thread): ...@@ -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): ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment