On Sun, Mar 18, 2007 at 02:26:19AM +0100, Florent Daignière (NextGen$) wrote: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2007-03-17 22:52:44]: > > When are we closing lis then ?
Why do we need to? It's just a wrapper.
>
> > 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)
> >
> > _______________________________________________
> > cvs mailing list
> > [email protected]
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> _______________________________________________
> Devl mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
signature.asc
Description: Digital signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
