Fixed a mistake during optimization

This commit is contained in:
Trustin Lee 2009-06-15 08:35:24 +00:00
parent 12acb2cf09
commit aeb7903be8

View File

@ -372,8 +372,9 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
String[] header = splitHeader(line);
message.addHeader(header[0], header[1]);
lastHeader = header[0];
line = readHeader(buffer);
}
line = readHeader(buffer);
} while (line.length() != 0);
}