Re: FileUploadBase.setFileSizeMax & MultipartStream.ItemInputStream.makeAvailable()

2007-08-30 Thread Eric Hermanson
bug, is it not? Please do correct me if I'm wrong. - Eric On Aug 30, 2007, at 2:13 AM, Jochen Wiedmann wrote: On 8/30/07, Eric Hermanson <[EMAIL PROTECTED]> wrote: setFileSizeMax is apparently intended to prevent the file upload if the file about to be uploaded is larger than a

FileUploadBase.setFileSizeMax & MultipartStream.ItemInputStream.makeAvailable()

2007-08-29 Thread Eric Hermanson
setFileSizeMax is apparently intended to prevent the file upload if the file about to be uploaded is larger than a given size. However, the exception does not get processed until AFTER the entire file is uploaded to the server (thereby defeating the purpose of the limit). I went into the