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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 3811dd9  Additional debug logging prompted by intermittent CI failures
3811dd9 is described below

commit 3811dd9bad3edad5c3646cea9344f273e906bf4f
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 a3f9a46..3b2c118 100644
--- a/java/org/apache/coyote/http11/Http11InputBuffer.java
+++ b/java/org/apache/coyote/http11/Http11InputBuffer.java
@@ -768,6 +768,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