diff --git a/src/wormhole_transit_relay/server_state.py b/src/wormhole_transit_relay/server_state.py index e37f95d..ae4ac2f 100644 --- a/src/wormhole_transit_relay/server_state.py +++ b/src/wormhole_transit_relay/server_state.py @@ -497,7 +497,6 @@ class TransitServerState(object): @_machine.output() def _count_bytes(self, data): self._total_sent += len(data) - print("COUNT BYTES +{} now {}".format(len(data), self._total_sent)) @_machine.output() def _send(self, data): @@ -523,7 +522,6 @@ class TransitServerState(object): # some outputs to record "usage" information .. @_machine.output() def _record_usage(self): - print("RECORD", self, self._mood, self._total_sent) if self._mood == "jilted": if self._buddy: if self._buddy._mood == "happy": diff --git a/src/wormhole_transit_relay/transit_server.py b/src/wormhole_transit_relay/transit_server.py index f096bfc..8a5bead 100644 --- a/src/wormhole_transit_relay/transit_server.py +++ b/src/wormhole_transit_relay/transit_server.py @@ -217,7 +217,6 @@ class WebSocketTransitConnection(WebSocketServerProtocol): """ ITransitClient API """ - print("send: {}".format(repr(data))) self.sendMessage(data, isBinary=True) def disconnect(self): @@ -256,7 +255,6 @@ class WebSocketTransitConnection(WebSocketServerProtocol): """ IProtocol API """ - print("connectionMade") super(WebSocketTransitConnection, self).connectionMade() self.started_time = time.time() self._first_message = True @@ -281,7 +279,6 @@ class WebSocketTransitConnection(WebSocketServerProtocol): raise ValueError( "All messages must be binary" ) - # print("onMessage isBinary={}: {}".format(isBinary, payload)) if self._first_message: self._first_message = False token = None @@ -311,6 +308,4 @@ class WebSocketTransitConnection(WebSocketServerProtocol): """ IWebSocketChannel API """ - print("{} onClose: {} {} {}".format(id(self), wasClean, code, reason)) self._state.connection_lost() - # XXX "transit finished", etc