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());
|
.getName());
|
||||||
if (((MemoryAttribute) attribute).getChannelBuffer() != null) {
|
if (((MemoryAttribute) attribute).getChannelBuffer() != null) {
|
||||||
diskAttribute.addContent(((MemoryAttribute) attribute)
|
diskAttribute.addContent(((MemoryAttribute) attribute)
|
||||||
.getChannelBuffer(), true);
|
.getChannelBuffer(), false);
|
||||||
}
|
}
|
||||||
attribute = diskAttribute;
|
attribute = diskAttribute;
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@ public class MixedFileUpload implements FileUpload {
|
|||||||
definedSize);
|
definedSize);
|
||||||
if (((MemoryFileUpload) fileUpload).getChannelBuffer() != null) {
|
if (((MemoryFileUpload) fileUpload).getChannelBuffer() != null) {
|
||||||
diskFileUpload.addContent(((MemoryFileUpload) fileUpload)
|
diskFileUpload.addContent(((MemoryFileUpload) fileUpload)
|
||||||
.getChannelBuffer(), true);
|
.getChannelBuffer(), false);
|
||||||
}
|
}
|
||||||
fileUpload = diskFileUpload;
|
fileUpload = diskFileUpload;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user