You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/06/05 12:53:02 UTC

[jira] [Updated] (WICKET-5595) Atmosphere: updates infinitly with long polling transport

     [ https://issues.apache.org/jira/browse/WICKET-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-5595:
------------------------------------

    Summary: Atmosphere: updates infinitly with long polling transport  (was: update infinity transport long polling)

> Atmosphere: updates infinitly with long polling transport
> ---------------------------------------------------------
>
>                 Key: WICKET-5595
>                 URL: https://issues.apache.org/jira/browse/WICKET-5595
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-atmosphere
>    Affects Versions: 6.16.0
>            Reporter: Duto
>            Assignee: Emond Papegaaij
>              Labels: atmosphere, long_polling, loop
>             Fix For: 6.16.0, 7.0.0-M2
>
>
> I found a problem when I use long polling for the transport :
> When the EventBus loop to the list of AtmosphereResource (on post method) and if the update is too long of each AtmosphereResource, the list of AtmosphereResource is update and reorder (because atmosphere remove and registry the AtmosphereResource due to long polling) and then the loop on EventBus never stop and update is infinitie.
> To solve the probleme I do that on line 366 of EventBus.java :
> {code}for (AtmosphereResource resource : 
> ImmutableList.copyOf(broadcaster.getAtmosphereResources())){code}
> rather than
> {code}for (AtmosphereResource resource : broadcaster.getAtmosphereResources()){code}
> Best regards



--
This message was sent by Atlassian JIRA
(v6.2#6252)