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

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


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

commit 918146f9d04af67d904b47c440acaab14380521b
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 71ba804..2d8b69f 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