You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexander Suslov (JIRA)" <ji...@apache.org> on 2014/03/07 11:07:42 UTC
[jira] [Commented] (WICKET-5530) AJAX file upload hangs up when two
big file selected by user and AJAX response is more then 16K
[ https://issues.apache.org/jira/browse/WICKET-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923739#comment-13923739 ]
Alexander Suslov commented on WICKET-5530:
------------------------------------------
In the attachment you will find a little bit modified org.apache.wicket.examples.ajax.builtin.FileUploadPage page from wicket-examples module which will produce big response (> 16K). If remove "Content filler" lines in the markup file then it works fine.
> AJAX file upload hangs up when two big file selected by user and AJAX response is more then 16K
> -----------------------------------------------------------------------------------------------
>
> Key: WICKET-5530
> URL: https://issues.apache.org/jira/browse/WICKET-5530
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.14.0
> Environment: Windows 7x64
> Tomcat 7.0.47
> Reporter: Alexander Suslov
> Attachments: ajaxFileUploadTest.zip
>
>
> Given:
> Max file size is specified for form (for example 5M: form.setMaxSize(Bytes.megabytes(5));)
> When:
> User try to upload file which has size more then 5M
> Then:
> If AJAX response is more then 16K request will hangs up (will never be finished).
> Expected:
> User should see feedback message that file is too big.
--
This message was sent by Atlassian JIRA
(v6.2#6252)