tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@apache.org
Subject cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade HttpServletRequestFacade.java
Date Mon, 31 Dec 2001 20:19:59 GMT
larryi      01/12/31 12:19:59

  Modified:    src/facade22/org/apache/tomcat/facade
                        HttpServletRequestFacade.java
  Log:
  Fix bug where reader isn't reset when HttpServletRequestFacade is
  recycled.
  
  Reported by: Vincent Massol
  
  Revision  Changes    Path
  1.31      +2 -1      jakarta-tomcat/src/facade22/org/apache/tomcat/facade/HttpServletRequestFacade.java
  
  Index: HttpServletRequestFacade.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/HttpServletRequestFacade.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- HttpServletRequestFacade.java	16 Oct 2001 03:12:42 -0000	1.30
  +++ HttpServletRequestFacade.java	31 Dec 2001 20:19:58 -0000	1.31
  @@ -95,7 +95,7 @@
       HttpSessionFacade sessionFacade;
       ServletInputStreamFacade isFacade=new ServletInputStreamFacade();
       boolean isFacadeInitialized=false;
  -    BufferedReader reader;
  +    BufferedReader reader=null;
       DateFormat []dateFormats;
       UEncoder uencoder;
   
  @@ -139,6 +139,7 @@
   	sessionFacade=null;
   	if( isFacade != null ) isFacade.recycle();
   	isFacadeInitialized=false;
  +        reader=null;
       }
   
       /** Not public - is called only from FacadeManager
  
  
  

--
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