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-4.0/catalina/src/share/org/apache/catalina/connector/http HttpRequestImpl.java
Date Tue, 17 Jul 2001 01:00:34 GMT
remm        01/07/16 18:00:34

  Modified:    catalina/src/share/org/apache/catalina/connector/http
                        HttpRequestImpl.java
  Log:
  - Check for protocol to be null.
  
  Revision  Changes    Path
  1.10      +5 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpRequestImpl.java
  
  Index: HttpRequestImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpRequestImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HttpRequestImpl.java	2001/05/08 05:58:44	1.9
  +++ HttpRequestImpl.java	2001/07/17 01:00:34	1.10
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpRequestImpl.java,v
1.9 2001/05/08 05:58:44 craigmcc Exp $
  - * $Revision: 1.9 $
  - * $Date: 2001/05/08 05:58:44 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpRequestImpl.java,v
1.10 2001/07/17 01:00:34 remm Exp $
  + * $Revision: 1.10 $
  + * $Date: 2001/07/17 01:00:34 $
    *
    * ====================================================================
    *
  @@ -81,7 +81,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.9 $ $Date: 2001/05/08 05:58:44 $
  + * @version $Revision: 1.10 $ $Date: 2001/07/17 01:00:34 $
    */
   
   final class HttpRequestImpl
  @@ -311,7 +311,7 @@
           // If neither a reader or an is have been opened, do it to consume
           // request bytes, if any
           if ((reader == null) && (stream == null) && (getContentLength()
!= 0)
  -            && (getProtocol().equals("HTTP/1.1")))
  +            && (getProtocol() != null) && (getProtocol().equals("HTTP/1.1")))
               getInputStream();
   
           super.finishRequest();
  
  
  

Mime
View raw message