You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by br...@apache.org on 2003/06/23 14:47:39 UTC

cvs commit: jakarta-commons/net/xdocs changes.xml

brekke      2003/06/23 05:47:39

  Modified:    net/src/java/org/apache/commons/net/telnet
                        TelnetInputStream.java
               net/xdocs changes.xml
  Log:
  Another patch for a deadlock situation in TelnetInputStream.
  Submitted by: j.matysiak@cenit.de
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-commons/net/src/java/org/apache/commons/net/telnet/TelnetInputStream.java
  
  Index: TelnetInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/net/src/java/org/apache/commons/net/telnet/TelnetInputStream.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TelnetInputStream.java	14 Apr 2003 12:53:34 -0000	1.6
  +++ TelnetInputStream.java	23 Jun 2003 12:47:39 -0000	1.7
  @@ -492,7 +492,7 @@
                           __queue.notify();
                           try
                           {
  -                            __queue.wait();
  +                            __queue.wait(100);
                           }
                           catch (InterruptedException e)
                           {
  
  
  
  1.10      +5 -0      jakarta-commons/net/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/net/xdocs/changes.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- changes.xml	18 May 2003 04:19:41 -0000	1.9
  +++ changes.xml	23 Jun 2003 12:47:39 -0000	1.10
  @@ -8,6 +8,11 @@
     <body>
       <release version="1.0.1" date="In CVS">
         <action dev="brekke" type="fix">
  +        If the buffer queue run full, the run() method sometimes hangs forever.
  +        Changed wait() to wait(100) as with other changes in TelnetInputStream.
  +        Fix submitted From: J. Matysiak ( j.matysiak@cenit.de ).
  +      </action>
  +      <action dev="brekke" type="fix">
           FTP.smnt(String dir) was not passing on the dir to the SMNT command as an argument.
         </action>
         <action dev="brekke" type="add">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org