*) this change is supposed to prevent the creation of temporary files by Apache Commons Fileupload library in cases where it is not necessary (as proposed by thq in http://forum.yacy-websuche.de/viewtopic.php?f=8&t=1806)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5546 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 16 years ago
parent 94110df85a
commit f136ddcfd4

@ -899,7 +899,7 @@ public final class httpd implements serverHandler, Cloneable {
}
// parse data in memory
FileItemFactory factory = new DiskFileItemFactory();
FileItemFactory factory = new DiskFileItemFactory(1024 * 1024, new File(System.getProperty("java.io.tmpdir")));
FileUpload upload = new FileUpload(factory);
List<FileItem> items;
try {

Loading…
Cancel
Save