diff --git a/repository/Seaside-Zinc-Core.package/ZnRingBuffer.class/instance/writeAllOn..st b/repository/Seaside-Zinc-Core.package/ZnRingBuffer.class/instance/writeAllOn..st new file mode 100644 index 000000000..0c015081c --- /dev/null +++ b/repository/Seaside-Zinc-Core.package/ZnRingBuffer.class/instance/writeAllOn..st @@ -0,0 +1,4 @@ +private +writeAllOn: aStream + + aStream nextPutAll: buffer \ No newline at end of file diff --git a/repository/Seaside-Zinc-Core.package/ZnStreamingMultiPartFormDataEntity.class/instance/parseMultiPartFieldWithoutLengthWithBoundary.writeOn..st b/repository/Seaside-Zinc-Core.package/ZnStreamingMultiPartFormDataEntity.class/instance/parseMultiPartFieldWithoutLengthWithBoundary.writeOn..st index 80d08959e..0747b2e3f 100644 --- a/repository/Seaside-Zinc-Core.package/ZnStreamingMultiPartFormDataEntity.class/instance/parseMultiPartFieldWithoutLengthWithBoundary.writeOn..st +++ b/repository/Seaside-Zinc-Core.package/ZnStreamingMultiPartFormDataEntity.class/instance/parseMultiPartFieldWithoutLengthWithBoundary.writeOn..st @@ -36,7 +36,7 @@ parseMultiPartFieldWithoutLengthWithBoundary: aBoundary writeOn: writer If not we have to check for the next boundary candidate as we might have loaded the next boundary partially." buffer = aBoundary ] ] ifNil: [ - writer nextPutAll: buffer. + buffer writeAllOn: writer. stream atEnd ifFalse: [ "#next:into: answers a copy of the buffer if not enough bytes could be read.