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
parent 502e469c45
commit d475a8cc64

View File

@ -851,7 +851,7 @@ public class HttpPostRequestDecoder {
} }
while (sao.pos < sao.limit) { 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)) { if (!Character.isISOControl(c) && !Character.isWhitespace(c)) {
sao.setReadPosition(1); sao.setReadPosition(1);
return; return;