Merge pull request #318 from fredericBregier/3

3 Issue #317 fix through this commit (addContent ignore initial content)
This commit is contained in:
Frédéric Brégier 2012-05-10 11:31:44 -07:00
commit 49142f36c8
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public class MixedAttribute implements Attribute {
.getName());
if (((MemoryAttribute) attribute).getChannelBuffer() != null) {
diskAttribute.addContent(((MemoryAttribute) attribute)
.getChannelBuffer(), true);
.getChannelBuffer(), false);
}
attribute = diskAttribute;
}

View File

@ -57,7 +57,7 @@ public class MixedFileUpload implements FileUpload {
definedSize);
if (((MemoryFileUpload) fileUpload).getChannelBuffer() != null) {
diskFileUpload.addContent(((MemoryFileUpload) fileUpload)
.getChannelBuffer(), true);
.getChannelBuffer(), false);
}
fileUpload = diskFileUpload;
}