Very small fix (readUnsigned while in optimized version it was signed but should be unsigned)

This commit is contained in:
Frédéric Brégier 2012-05-02 11:40:28 +03:00 committed by Trustin Lee
parent d6cedb008b
commit a91e72403c

View File

@ -851,7 +851,7 @@ public class HttpPostRequestDecoder {
}
while (sao.pos < sao.limit) {
char c = (char) sao.bytes[sao.pos ++];
char c = (char) ()sao.bytes[sao.pos ++] & 0xFF);
if (!Character.isISOControl(c) && !Character.isWhitespace(c)) {
sao.setReadPosition(1);
return;