[
https://issues.apache.org/jira/browse/FILEUPLOAD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499448
]
Jochen Wiedmann commented on FILEUPLOAD-135:
--------------------------------------------
Before applying your patch, I'd like to understand the problem. Would it be
possible for you to provide a test case, which fails with 1.2 and works with
your patch? Preferrably a patch against the test suite, but a sample http body
should do.
> InputStream created with Streaming API returns EOF on first read() for short
> files uploaded from FireFox over HTTPS
> -------------------------------------------------------------------------------------------------------------------
>
> Key: FILEUPLOAD-135
> URL: https://issues.apache.org/jira/browse/FILEUPLOAD-135
> Project: Commons FileUpload
> Issue Type: Bug
> Affects Versions: 1.2, 1.2.1
> Environment: Windows XP
> Browser: Firefox 1.5.0.11
> Protocol: HTTPS
> Reporter: Alexander Sova
> Attachments: commons-fileupload-1.1-bug-short-file-eof.patch,
> commons-fileupload-1.2-bug-short-file-eof.patch
>
>
> I was able to reproduce this problem happens only with files shorer then
> boundary string generated by browser and only with Firefox using HTTPS
> protocol.
> For some reason in this particular environment inputStream.read() in
> MultipartStream.ItemInputStream.makeAvailable() reads not whole HTTP response
> body, but only file content before boundary string.
> I've created a patch fixing this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]