"theute" wrote : 
  | My modification is very simple and wouldn't change what you want do to. 15KB is 
way too low, opening a file, writing in it and closing a file take too much time if 
your file is 30KB you are doomed.
  | 
too much time? this is a file upload, not a real time application. Another point: with 
a 30MB file upload and memory buffer, how many times the initial buffer of 32 bytes 
must be reallocated? That is quite expensive, I think.

"theute" wrote : 
  | Your example was about 30MB, HTTP is not made for uploads like this, for large 
uploads, FTP is recommended for any web server.
  | 
I agree, but http is much simple from the user's point of view.

"theute" wrote : 
  | In a perfect world it works and it's just a little bit faster but i don't know any 
project working in a perfect world.
  | 
Why the apache group refused your code?

Regards,
Marco

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847007#3847007

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847007


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to