commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1076624 - in /commons/proper/net/trunk/src: changes/changes.xml main/java/org/apache/commons/net/telnet/TelnetInputStream.java
Date Thu, 03 Mar 2011 13:45:01 GMT
Author: sebb
Date: Thu Mar  3 13:45:01 2011
New Revision: 1076624

URL: http://svn.apache.org/viewvc?rev=1076624&view=rev
Log:
NET-348 Queue is full TelnetInputStream.

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=1076624&r1=1076623&r2=1076624&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml (original)
+++ commons/proper/net/trunk/src/changes/changes.xml Thu Mar  3 13:45:01 2011
@@ -54,6 +54,9 @@ The <action> type attribute can be add,u
 
     <body>
         <release version="3.0" date="TBA" description="TBA">
+            <action issue="NET-348" dev="sebb" type="fix">
+            Queue is full TelnetInputStream.
+            </action>
             <action issue="NET-361" dev="sebb" type="add">
             Implement Telnet Command sender.
             </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=1076624&r1=1076623&r2=1076624&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 Mar  3 13:45:01 2011
@@ -105,7 +105,6 @@ final class TelnetInputStream extends Bu
         __thread.setPriority(priority);
         __thread.setDaemon(true);
         __thread.start();
-        __threaded = true;
     }
 
 
@@ -577,6 +576,8 @@ final class TelnetInputStream extends Bu
     {
         int ch;
 
+        __threaded = true; // tell _processChar that we are running threaded
+
         try
         {
 _outerLoop:



Mime
View raw message