On Sun, Mar 18, 2007 at 02:26:19AM +0100, Florent Daigni?re (NextGen$) wrote:
> * toad at freenetproject.org <toad at freenetproject.org> [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
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20070319/00f80502/attachment.pgp>

Reply via email to