commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1490241 - in /commons/proper/net/trunk/src: changes/changes.xml main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Date Thu, 06 Jun 2013 11:32:38 GMT
Author: sebb
Date: Thu Jun  6 11:32:38 2013
New Revision: 1490241

URL: http://svn.apache.org/r1490241
Log:
NET-501 Race Condition on TelnetClient.disconnect() and TelnetInputStream.run()

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java

Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1490241&r1=1490240&r2=1490241&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml (original)
+++ commons/proper/net/trunk/src/changes/changes.xml Thu Jun  6 11:32:38 2013
@@ -65,6 +65,10 @@ The <action> type attribute can be add,u
         <release version="3.3" date="2013-06-??" description="
 This is a bug-fix release. See further details below.
         ">
+            <action issue="NET-501" dev="sebb" due-to="Julián Lastiri" type="fix">
+            Race Condition on TelnetClient.disconnect() and TelnetInputStream.run()
+            java.lang.IllegalStateException: Queue is full! Cannot process another character.

+            </action>
             <action issue="NET-505" dev="sebb" due-to="Sean Kelley" type="update">
             User specified bufferSize reset to default when FTPClient is disconnected or
reinitialized resulting in performance degradation.
             </action>

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java?rev=1490241&r1=1490240&r2=1490241&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Thu Jun  6 11:32:38 2013
@@ -594,7 +594,6 @@ final class TelnetInputStream extends Bu
             __queue.notifyAll();
         }
 
-        __threaded = false;
     }
 
 //    @Override



Mime
View raw message