Author: alanmc
Date: 2008-01-28 19:17:15 -0500 (Mon, 28 Jan 2008)
New Revision: 94199

Modified:
   trunk/bitsharp/src/MonoTorrent/Client/PeerConnections/PeerConnectionBase.cs
Log:
Initialise lastmessage sent and last message received to current time

Modified: 
trunk/bitsharp/src/MonoTorrent/Client/PeerConnections/PeerConnectionBase.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent/Client/PeerConnections/PeerConnectionBase.cs 
2008-01-29 00:16:20 UTC (rev 94198)
+++ trunk/bitsharp/src/MonoTorrent/Client/PeerConnections/PeerConnectionBase.cs 
2008-01-29 00:17:15 UTC (rev 94199)
@@ -431,6 +431,8 @@
             this.sendQueue = new Queue<PeerMessage>(12);
             this.isAllowedFastPieces = new MonoTorrentCollection<int>();
             this.amAllowedFastPieces = new MonoTorrentCollection<int>();
+            this.lastMessageReceived = DateTime.Now;
+            this.lastMessageSent = DateTime.Now;
         }
 
         #endregion

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to