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 043850d Sync on correct object - should fix TestCancelledUpload failures 043850d is described below commit 043850ddf6b0f41867a27f6c98d1cd2acd40a8b2 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Mar 19 16:50:37 2021 +0000 Sync on correct object - should fix TestCancelledUpload failures --- java/org/apache/coyote/http2/Stream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/coyote/http2/Stream.java b/java/org/apache/coyote/http2/Stream.java index 37b1533..b577d6e 100644 --- a/java/org/apache/coyote/http2/Stream.java +++ b/java/org/apache/coyote/http2/Stream.java @@ -1191,7 +1191,7 @@ class Stream extends AbstractNonZeroStream implements HeaderEmitter { private final void swallowUnread() throws IOException { if (inBuffer != null) { - synchronized (inputBuffer) { + synchronized (inBuffer) { closed = true; int unreadByteCount = inBuffer.position(); if (log.isDebugEnabled()) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org