directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r378895 - /directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
Date Sun, 19 Feb 2006 13:30:05 GMT
Author: trustin
Date: Sun Feb 19 05:30:05 2006
New Revision: 378895

URL: http://svn.apache.org/viewcvs?rev=378895&view=rev
Log:
Resolved issue: DIRMINA-171 (BaseIoSession.increaseReadBytes(int) resets a wrong idle count.)
* BaseIoSession.increaseReadBytes() resets idleCountForRead correctly now.

Modified:
    directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java

Modified: directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java?rev=378895&r1=378894&r2=378895&view=diff
==============================================================================
--- directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
(original)
+++ directory/trunks/mina/core/src/main/java/org/apache/mina/common/support/BaseIoSession.java
Sun Feb 19 05:30:05 2006
@@ -328,7 +328,7 @@
         readBytes += increment;
         lastReadTime = System.currentTimeMillis();
         idleCountForBoth = 0;
-        idleCountForWrite = 0;
+        idleCountForRead = 0;
     }
 
     public void increaseWrittenBytes( int increment )



Mime
View raw message