update after lachlan affb436433
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
d9be68c380
commit
add08caec0
|
@ -354,9 +354,6 @@ public class MultiPartParser
|
||||||
int partial = _search.startsWith(buffer.array(),buffer.arrayOffset()+buffer.position(),buffer.remaining(),_partialBoundary);
|
int partial = _search.startsWith(buffer.array(),buffer.arrayOffset()+buffer.position(),buffer.remaining(),_partialBoundary);
|
||||||
if (partial>0)
|
if (partial>0)
|
||||||
{
|
{
|
||||||
// TODO this should not be needed?
|
|
||||||
partial+=_partialBoundary;
|
|
||||||
|
|
||||||
if (partial==_search.getLength())
|
if (partial==_search.getLength())
|
||||||
{
|
{
|
||||||
buffer.position(buffer.position()+partial-_partialBoundary);
|
buffer.position(buffer.position()+partial-_partialBoundary);
|
||||||
|
|
Loading…
Reference in New Issue