billbarker    02/04/25 20:23:46

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  Fix typo.
  
  Timeouts now seem to be working.
  
  Revision  Changes    Path
  1.32      +3 -2      
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
  
  Index: Http11Processor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- Http11Processor.java      26 Apr 2002 02:25:08 -0000      1.31
  +++ Http11Processor.java      26 Apr 2002 03:23:46 -0000      1.32
  @@ -374,14 +374,15 @@
           int soTimeout = socket.getSoTimeout();
           boolean keptAlive = false;
           socket.setSoTimeout(timeout);
  -
  +     log.warn("soTimeout = " + soTimeout + " timeout = " + timeout);
           while (started && !error && keepAlive) {
               try {
                   if( keptAlive && soTimeout > 0 ) {
                       socket.setSoTimeout(soTimeout);
                   }
  +             log.warn("timeout = " + socket.getSoTimeout());
                   inputBuffer.parseRequestLine();
  -                keptAlive = false;
  +                keptAlive = true;
                   socket.setSoTimeout(timeout);
                   inputBuffer.parseHeaders();
               } catch (IOException e) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to