Chris, Just took a look at the fix in svn -- one thing: on line. 36, you're deleting 'Content-Type' from the headers, and I think you want to be deleting 'Content-Length'.
Very glad to see such a quick fix checked in. -Dan On Nov 3, 2006, at 6:12 PM, Christoph Zwerschke wrote: > Dan Milstein wrote: >> After looking carefully at HTTPHandler, I think I've found a way >> to avoid holding that file in memory. I wanted to ask the list if >> there was a reason for the current design that I'm missing. If not, >> I'd propose the patch below as an improvement to the built-in HTTP >> server. > > Your patch looks good; I have already checked in something similar. > The built-in HTTP server was never intended for production use or use > with such big files, so probably nobody cared about performance. Or > does > somebody else see a reason for wrapping the input file in such a way? > > -- Chris > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Webware-devel mailing list > Webware-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/webware-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel