Author: toad
Date: 2007-03-17 22:52:43 +0000 (Sat, 17 Mar 2007)
New Revision: 12201
Modified:
trunk/freenet/src/freenet/clients/http/HTTPRequestImpl.java
Log:
Fix HTTPRequestImpl for POST forms
Modified: trunk/freenet/src/freenet/clients/http/HTTPRequestImpl.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/HTTPRequestImpl.java 2007-03-17
22:32:20 UTC (rev 12200)
+++ trunk/freenet/src/freenet/clients/http/HTTPRequestImpl.java 2007-03-17
22:52:43 UTC (rev 12201)
@@ -127,7 +127,7 @@
try {
this.parseMultiPartData();
} catch (IOException ioe) {
-
+ Logger.error(this, "Temporary files error ? Could not
parse: "+ioe, ioe);
}
}
@@ -464,8 +464,6 @@
// Do nothing, irrelevant header
}
}
- lis.close();
- bis.close();
if (name == null) continue;
@@ -505,6 +503,8 @@
uploadedFiles.put(name, new
HTTPUploadedFileImpl(filename, contentType, filedata));
}
}
+
+ bis.close();
}
/* (non-Javadoc)