HTTP Chunk, wrong delimiter written
This commit is contained in:
parent
6a4131c10f
commit
12fe7b52b6
@ -45,7 +45,7 @@ public abstract class HttpObjectEncoder<H extends HttpMessage> extends MessageTo
|
||||
private static final byte[] ZERO_CRLF = { '0', CR, LF };
|
||||
private static final byte[] ZERO_CRLF_CRLF = { '0', CR, LF, CR, LF };
|
||||
private static final byte[] HEADER_SEPARATOR = { COLON, SP };
|
||||
private static final ByteBuf CRLF_BUF = unreleasableBuffer(directBuffer(ZERO_CRLF.length).writeBytes(ZERO_CRLF));
|
||||
private static final ByteBuf CRLF_BUF = unreleasableBuffer(directBuffer(CRLF.length).writeBytes(CRLF));
|
||||
private static final ByteBuf ZERO_CRLF_CRLF_BUF = unreleasableBuffer(directBuffer(ZERO_CRLF_CRLF.length)
|
||||
.writeBytes(ZERO_CRLF_CRLF));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user