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 8a4f01e Fix typo
8a4f01e is described below
commit 8a4f01e62ade17f65ab7910c88f5b1d115a9606a
Author: Mark Thomas <[email protected]>
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 5267421..665b0f3 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: [email protected]
For additional commands, e-mail: [email protected]