Skip to content

Commit

Permalink
Fixes HTTP pipeline processing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-valliere committed Sep 9, 2021
1 parent d90bbb9 commit 7dc266a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void dispose(IoSession session) throws Exception {
}

private HttpRequestImpl parseHttpRequestHead(ByteBuffer buffer) {
String raw = new String(buffer.array(), 0, buffer.limit());
String raw = new String(buffer.array(), buffer.position(), buffer.remaining());
String[] headersAndBody = RAW_VALUE_PATTERN.split(raw, -1);

if (headersAndBody.length <= 1) {
Expand Down

0 comments on commit 7dc266a

Please sign in to comment.