[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/multiplex ...

Ron Sigal ron_sigal at yahoo.com
Thu Jul 20 03:27:08 EDT 2006


  User: rsigal  
  Date: 06/07/20 03:27:08

  Modified:    src/main/org/jboss/remoting/transport/multiplex 
                        Protocol.java
  Log:
  JBREM-551:  Throw EOFException instead of IOException in acceptConnect().
  
  Revision  Changes    Path
  1.35      +2 -1      JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/Protocol.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Protocol.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/Protocol.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -b -r1.34 -r1.35
  --- Protocol.java	19 Jul 2006 23:22:28 -0000	1.34
  +++ Protocol.java	20 Jul 2006 07:27:08 -0000	1.35
  @@ -27,6 +27,7 @@
   package org.jboss.remoting.transport.multiplex;
   
   
  +import java.io.EOFException;
   import java.io.IOException;
   import java.io.InterruptedIOException;
   import java.io.OutputStream;
  @@ -224,7 +225,7 @@
                  
               case -1:
                  log.info("Protocol.acceptConnect(): end of file");
  -               throw new IOException("end of file");
  +               throw new EOFException();
                  
               default:
                  log.error("Protocol.acceptConnect: expecting a CONNECT message: received: " + messageType);
  
  
  



More information about the jboss-cvs-commits mailing list