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 203057c  Additional debug logging to investigate bug 63859
203057c is described below

commit 203057cd1fdab6896b0b0718ca8cee1caed22bbc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Nov 19 22:07:59 2019 +0000

    Additional debug logging to investigate bug 63859
---
 java/org/apache/coyote/ajp/AjpProcessor.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/java/org/apache/coyote/ajp/AjpProcessor.java 
b/java/org/apache/coyote/ajp/AjpProcessor.java
index 280a340..a3e628d 100644
--- a/java/org/apache/coyote/ajp/AjpProcessor.java
+++ b/java/org/apache/coyote/ajp/AjpProcessor.java
@@ -343,6 +343,9 @@ public class AjpProcessor extends AbstractProcessor {
                         socketWrapper.write(true, pongMessageArray, 0, 
pongMessageArray.length);
                         socketWrapper.flush(true);
                     } catch (IOException e) {
+                        if (getLog().isDebugEnabled()) {
+                            getLog().debug("Pong message failed", e);
+                        }
                         setErrorState(ErrorState.CLOSE_CONNECTION_NOW, e);
                     }
                     recycle();


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

Reply via email to