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 cc367b6 Remove temporary debug code that is no longer being used
cc367b6 is described below
commit cc367b62c94df4634070cda8ff8a26f974f5ab03
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Mar 7 11:29:29 2019 +0000
Remove temporary debug code that is no longer being used
---
java/org/apache/coyote/http2/StreamProcessor.java | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/java/org/apache/coyote/http2/StreamProcessor.java
b/java/org/apache/coyote/http2/StreamProcessor.java
index 89cad0a..6870926 100644
--- a/java/org/apache/coyote/http2/StreamProcessor.java
+++ b/java/org/apache/coyote/http2/StreamProcessor.java
@@ -76,8 +76,6 @@ class StreamProcessor extends AbstractProcessor {
ConnectionException ce = new
ConnectionException(sm.getString(
"streamProcessor.error.connection",
stream.getConnectionId(),
stream.getIdentifier()),
Http2Error.INTERNAL_ERROR);
- // TODO - Temporary debug code
- log.info(ce.getMessage(), ce);
stream.close(ce);
} else if (!getErrorState().isIoAllowed()) {
StreamException se = stream.getResetException();
@@ -93,10 +91,9 @@ class StreamProcessor extends AbstractProcessor {
} catch (Exception e) {
String msg =
sm.getString("streamProcessor.error.connection",
stream.getConnectionId(), stream.getIdentifier());
- // TODO - Temporary debug code
- //if (log.isDebugEnabled()) {
- log.info(msg, e);
- //}
+ if (log.isDebugEnabled()) {
+ log.debug(msg, e);
+ }
ConnectionException ce = new ConnectionException(msg,
Http2Error.INTERNAL_ERROR);
ce.initCause(e);
stream.close(ce);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]