Skip to content

Flex Bridge does not handle multiple messages in a single event correctly #7

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

  Send two messages from Java to Flex one right after the other.

  Eventually you get more than one message showing up in 
  handleReceiveSocketData(event : ProgressEvent).  

  Sometimes it is totalBytes+message+totalBytes+message or sometimes it is 
  totalBytes+message+totalBytes.

  The Bridge and AMF3Reader classes do not handle this correctly.


What is the expected output? What do you see instead?

  I expect to see both messages show up in the registered handlers.

  Instead either the second message is "lost" or it gets off-sync and
  just errors on each socket event and subsequent messages are "lost".

What version of the product are you using? On what operating system?

  0.1.8 beta Windows XP

Please provide any additional information below.


What type of application are you building?



Original issue reported on code.google.com by [email protected] on 24 Aug 2009 at 2:24

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions