Duto created WICKET-5595:
----------------------------

             Summary: update infinity transport long polling
                 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


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)

Reply via email to