Skip to content

Commit

Permalink
Fix typo in HttpPostMultipartRequestDecoder (netty#11764)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear authored and 夏无影 committed Jul 8, 2022
1 parent c975498 commit 37df917
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ private static boolean loadDataMultipartOptimized(ByteBuf undecodedChunk, String
if (posDelimiter < 0 &&
httpData.definedLength() == httpData.length() + readableBytes - 1 &&
undecodedChunk.getByte(readableBytes + startReaderIndex - 1) == HttpConstants.CR) {
// Last CR shall preceed a future LF
// Last CR shall precede a future LF
lastPosition = 0;
posDelimiter = readableBytes - 1;
}
Expand Down

0 comments on commit 37df917

Please sign in to comment.