391082 No exception if multipart input stream incomplete

This commit is contained in:
Jan Bartel 2012-10-04 14:51:13 +10:00
parent ce3ba58887
commit 23fe83a689
1 changed files with 2 additions and 0 deletions

View File

@ -589,6 +589,8 @@ public class MultiPartInputStream
part.close();
}
}
if (!lastPart)
throw new IOException("Incomplete parts");
}