Fixed NETTY-319 HttpMessageDecoder incorrect parsing status line
* Specified an empty reason phrase if no reason phrase was specified
This commit is contained in:
parent
7d11a5369f
commit
0d0b0c56c3
@ -603,7 +603,7 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
|
||||
return new String[] {
|
||||
sb.substring(aStart, aEnd),
|
||||
sb.substring(bStart, bEnd),
|
||||
sb.substring(cStart, cEnd) };
|
||||
cStart < cEnd? sb.substring(cStart, cEnd) : "" };
|
||||
}
|
||||
|
||||
private String[] splitHeader(String sb) {
|
||||
|
Loading…
Reference in New Issue
Block a user