if DEBUG_MESSAGE_HANDLING:
st = time.time()
- if False: #connection.get_ip().startswith("192"):
- print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ","connecter: Got",getMessageName(t),connection.get_ip()
+
+ # if False: #connection.get_ip().startswith("192"):
+ # print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ","connecter: Got",getMessageName(t),connection.get_ip()
- if DEBUG_NORMAL_MSGS:
- print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ","connecter: Got",getMessageName(t),connection.get_ip()
+ # if DEBUG_NORMAL_MSGS:
+ # print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ","connecter: Got",getMessageName(t),connection.get_ip()
if t == EXTEND:
self.got_extend_message(connection,c,message,self.ut_pex_enabled)
- cmdlinedl.py este modificat - pt a afisa eta si numarul de peers.
- pt a scrie intr-un fisier "status_msg.log" in loc de stderr
- Core/APIImplementation/SingleDownload.py - pt a scrie informatii de status in fisierul "status_msg.log" in loc de stderr
-
+ - Core/BitTornado/BT1/Connecter.py - eliminare afisare duplicata pt mesajele primite, 4 linii comentate in functia got_message
+ # if False: #connection.get_ip().startswith("192"):
+ # print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ","connecter: Got",getMessageName(t),connection.get_ip()
+
+ # if DEBUG_NORMAL_MSGS:
+ # print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ","connecter: Got",getMessageName(t),connection.get_ip()
+
+
+