tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
Date Sat, 04 Jan 2003 10:00:40 GMT
remm        2003/01/04 02:00:40

  Modified:    http11/src/java/org/apache/coyote/http11
                        Http11Processor.java
  Log:
  - Fix case sensitivity bug which prevented keep-alive (and close requests) from
    working depending on their case.
  
  Revision  Changes    Path
  1.54      +1 -1      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.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- Http11Processor.java	19 Dec 2002 14:02:48 -0000	1.53
  +++ Http11Processor.java	4 Jan 2003 10:00:40 -0000	1.54
  @@ -1286,7 +1286,7 @@
   	    // found first char, now look for a match
               int myPos = i+1;
   	    for (int srcPos = 1; srcPos < srcEnd; ) {
  -                if (buff[myPos++] != Ascii.toLower(b[srcPos++]))
  +                if (Ascii.toLower(buff[myPos++]) != b[srcPos++])
   		    break;
                   if (srcPos == srcEnd) return i - start; // found it
   	    }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message