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 b9d457f  Add missing message parameters
b9d457f is described below

commit b9d457fc21e2cfc23aa46846626dca2580de9b8e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jul 1 13:41:40 2021 +0100

    Add missing message parameters
---
 java/org/apache/coyote/http2/Stream.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index 63498cd..307d2a9 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -662,8 +662,8 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
                     inputBuffer.swallowUnread();
                 }
             } catch (IOException ioe) {
-                ConnectionException ce = new ConnectionException(
-                        sm.getString("stream.reset.fail"), 
Http2Error.PROTOCOL_ERROR, ioe);
+                ConnectionException ce = new ConnectionException(sm.getString(
+                        "stream.reset.fail", getConnectionId(), 
getIdAsString()), Http2Error.PROTOCOL_ERROR, ioe);
                 handler.closeConnection(ce);
             }
         } else {

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

Reply via email to