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 9f86303 Fix typo 9f86303 is described below commit 9f86303a59ca8c11c71884947e1cff0c2094d19a Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Mar 3 22:26:44 2020 +0000 Fix typo --- java/org/apache/coyote/http2/Http2AsyncParser.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/org/apache/coyote/http2/Http2AsyncParser.java b/java/org/apache/coyote/http2/Http2AsyncParser.java index 827105a..5b1af5b 100644 --- a/java/org/apache/coyote/http2/Http2AsyncParser.java +++ b/java/org/apache/coyote/http2/Http2AsyncParser.java @@ -131,10 +131,10 @@ class Http2AsyncParser extends Http2Parser { throws IOException, Http2Exception { handleAsyncException(); ByteBuffer header = ByteBuffer.allocate(9); - ByteBuffer framePaylod = ByteBuffer.allocate(input.getMaxFrameSize()); - FrameCompletionHandler handler = new FrameCompletionHandler(expected, header, framePaylod); + ByteBuffer framePayload = ByteBuffer.allocate(input.getMaxFrameSize()); + FrameCompletionHandler handler = new FrameCompletionHandler(expected, header, framePayload); CompletionState state = - socketWrapper.read(block ? BlockingMode.BLOCK : BlockingMode.NON_BLOCK, socketWrapper.getReadTimeout(), TimeUnit.MILLISECONDS, null, handler, handler, header, framePaylod); + socketWrapper.read(block ? BlockingMode.BLOCK : BlockingMode.NON_BLOCK, socketWrapper.getReadTimeout(), TimeUnit.MILLISECONDS, null, handler, handler, header, framePayload); if (state == CompletionState.ERROR || state == CompletionState.INLINE) { handleAsyncException(); return true; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org