This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 0f2a106 Add missing values in message
0f2a106 is described below
commit 0f2a1065f9a4c61e9fd802c74e813d365b0e4574
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jun 14 21:27:02 2021 +0100
Add missing values in message
---
java/org/apache/coyote/http2/Http2UpgradeHandler.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/coyote/http2/Http2UpgradeHandler.java
b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
index fa650b7..127c199 100644
--- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java
+++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
@@ -865,7 +865,8 @@ class Http2UpgradeHandler extends AbstractStream implements
InternalHttpUpgradeH
do {
synchronized (this) {
if (!stream.canWrite()) {
-
stream.doStreamCancel(sm.getString("upgradeHandler.stream.notWritable"),
Http2Error.STREAM_CLOSED);
+
stream.doStreamCancel(sm.getString("upgradeHandler.stream.notWritable",
+ stream.getConnectionId(),
stream.getIdAsString()), Http2Error.STREAM_CLOSED);
}
long windowSize = getWindowSize();
if (windowSize < 1 || backLogSize > 0) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]