More optimistic initial line buffer size
This commit is contained in:
parent
a4fe52559b
commit
b6c992de8b
@ -241,7 +241,7 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
|
||||
}
|
||||
|
||||
protected String readIntoCurrentLine(ChannelBuffer buffer) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
StringBuilder sb = new StringBuilder(64);
|
||||
while (true) {
|
||||
byte nextByte = buffer.readByte();
|
||||
if (nextByte == HttpCodecUtil.CR) {
|
||||
|
Loading…
Reference in New Issue
Block a user