166167168169170171172173174175176
mm = br.mark(itemEndlBytes); assertStreamNotEnd(mm); if (info.current > maxPos) { throw new UploadOutOfSizeException(meta); } br.dump(ops); if(info.stop) throw new UploadStopException(info); } while (mm == MarkMode.NOT_FOUND); } // 不限制文件大小
177178179180181182183184185186187
else { do { info.current = br.load(); mm = br.mark(itemEndlBytes); assertStreamNotEnd(mm); br.dump(ops); if(info.stop) throw new UploadStopException(info); } while (mm == MarkMode.NOT_FOUND); } }
167168169170171172173174175176177
178179180181182183184185186187188