update after lachlan affb436433

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-03-12 17:27:05 +11:00
parent d9be68c380
commit add08caec0
1 changed files with 0 additions and 3 deletions

View File

@ -354,9 +354,6 @@ public class MultiPartParser
int partial = _search.startsWith(buffer.array(),buffer.arrayOffset()+buffer.position(),buffer.remaining(),_partialBoundary);
if (partial>0)
{
// TODO this should not be needed?
partial+=_partialBoundary;
if (partial==_search.getLength())
{
buffer.position(buffer.position()+partial-_partialBoundary);