Merge pull request #318 from fredericBregier/3
3 Issue #317 fix through this commit (addContent ignore initial content)
This commit is contained in:
commit
49142f36c8
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user