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 94607d0  Additional debug logging prompted by intermittent CI failures
94607d0 is described below

commit 94607d00aefdd8467d23da7fcde739a0167c31d6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 18 15:13:01 2020 +0100

    Additional debug logging prompted by intermittent CI failures
---
 java/org/apache/coyote/http11/Http11InputBuffer.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/java/org/apache/coyote/http11/Http11InputBuffer.java 
b/java/org/apache/coyote/http11/Http11InputBuffer.java
index 822558f0..ca0b785 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -764,6 +764,14 @@ public class Http11InputBuffer implements InputBuffer, 
ApplicationBufferHandler
      */
     private boolean fill(boolean block) throws IOException {
 
+        if (log.isDebugEnabled()) {
+            log.debug("parsingHeader: [" + parsingHeader +
+                    "], parsingRequestLine: [" + parsingRequestLine +
+                    "], parsingRequestLinePhase: [" + parsingRequestLinePhase +
+                    "], parsingRequestLineStart: [" + parsingRequestLineStart +
+                    "], byteBuffer.position() [" + byteBuffer.position() + 
"]");
+        }
+
         if (parsingHeader) {
             if (byteBuffer.limit() >= headerBufferSize) {
                 if (parsingRequestLine) {


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

Reply via email to