changeset 359:8848edb0e6bf

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 15 Apr 2015 08:58:54 -0600
parents 6fc33c20441b
children cbb94a7c7a9e
files web/src/luan/modules/web/HttpServicer.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 6fc33c20441b -r 8848edb0e6bf web/src/luan/modules/web/HttpServicer.java
--- a/web/src/luan/modules/web/HttpServicer.java	Tue Apr 14 12:07:49 2015 -0600
+++ b/web/src/luan/modules/web/HttpServicer.java	Wed Apr 15 08:58:54 2015 -0600
@@ -217,6 +217,7 @@
 					try {
 						InputStream in = new BufferedInputStream(request.getInputStream());
 						final MultiPartInputStream mpis = new MultiPartInputStream(in,contentType,null,null);
+						mpis.setDeleteOnExit(true);
 						parts = new NameTable() {
 				
 							@Override Object get(String name) {