[ 
https://issues.apache.org/jira/browse/WICKET-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790138#action_12790138
 ] 

Daniel Lipski commented on WICKET-2613:
---------------------------------------

Victor, 
As I understand to fix this bug only "root-final-fix.java" chould be applied ? 
I suggest deleting "content-length.patch" because its confusing what should be 
applied.

This bug has nasty consequences, we migrated from 1.4.3 to 1.4.4 yesterday and 
all pages with TinyMCE editor started to load very long. After few hours we 
found that TinyMCE loads additional resources (js, css etc) after loading main 
script. After loading each resource browser was waiting for 20 sec. When I 
found this issue report I checked content-length header for this files, it was 
wrong and this causess that a browser is waiting for content which is never 
send by server. Whole page loads more then 2 min (with wicket 1.4.3 it tooks 
less then 1 sec.) This bug is very hard to detect (no Exception is thrown).

I suggest moving this issue report to "wicket" component, Its more active and 
more users will be noticed aboud this bug.

> Content-Length Issue with 1.4.4
> -------------------------------
>
>                 Key: WICKET-2613
>                 URL: https://issues.apache.org/jira/browse/WICKET-2613
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.4
>         Environment: OSX/JDK6
>            Reporter: Victor Igumnov
>         Attachments: content-length.patch, root-final-fix.java, 
> UrlResourceStream.java-1.4.1
>
>
> I have upgraded to wicket-1.4.4 from wicket-1.4.3. I have made sure to 
> recompile all dependent libraries against 1.4.4. Since switching any 
> component referenced from a JAR comes back with an incorrect content-length.
> I can resolve this issue by switching back to 1.4.3. 
> syris:~ victori$ curl -I 
> http://lfab:8480/resources/wicket.contrib.IconElements/vcard.gif
> HTTP/1.1 200 OK
> Date: Sun, 13 Dec 2009 23:02:11 GMT
> Last-Modified: Sun, 13 Dec 2009 23:00:44 GMT
> Expires: Mon, 14 Dec 2009 00:02:11 GMT
> Cache-Control: max-age=3600
> Content-Type: image/gif
> Content-Length: 99925
> Server: Jetty(6.1.12)
> It should be 619 bytes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to