summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/piztor/server.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/piztor/server.py b/server/piztor/server.py
index ae79c76..ab352a0 100644
--- a/server/piztor/server.py
+++ b/server/piztor/server.py
@@ -103,12 +103,11 @@ class PushTunnel(object):
def push(self):
print "Pushing via " + str(self)
print "Pending size: " + str(len(self.pending))
- print self.conn
+ logger.info("Pushing...")
if (self.conn is None) or len(self.pending) == 0:
return
front = self.pending.popleft()
self.pending.appendleft(front)
- print get_hex(front.data)
self.conn.transport.write(front.data)
def connect(self, conn):
@@ -119,7 +118,6 @@ class PushTunnel(object):
def on_connection_lost(self, conn):
if conn == self.conn:
- print "*** clear conn ***"
self.conn = None
class RequestHandler(object):