This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new f5c37e0  Recycle chr and prevChr
f5c37e0 is described below

commit f5c37e048d060818bc5a57ffa9920952fbcd51fd
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 10 17:32:08 2020 +0000

    Recycle chr and prevChr
---
 java/org/apache/coyote/http11/Http11InputBuffer.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java/org/apache/coyote/http11/Http11InputBuffer.java 
b/java/org/apache/coyote/http11/Http11InputBuffer.java
index db9bd7d..7be3e01 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -270,6 +270,8 @@ public class Http11InputBuffer implements InputBuffer, 
ApplicationBufferHandler
         parsingHeader = true;
         swallowInput = true;
 
+        chr = 0;
+        prevChr = 0;
         headerParsePos = HeaderParsePosition.HEADER_START;
         parsingRequestLine = true;
         parsingRequestLinePhase = 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to