We have a SmartFox server and decided to try the BlueBox as a fallback when the users are behind a firewall that is too restrictive.
Our application is complex and various messages are transmitted back and forth using both string and XML protocols.
The blue box (the older version that we have) almost worked from the first run but we had a problem:
Some messages are XML or XML-like but are transmitted through string protocol. And there is the problem. From what we see in the client code messages are being split on newline and sometimes merged back. However when the current line does not begin with '<' the line is considered a single message and is not joined to the lines before or after. Thus our XML messages sent over string protocol get split badly. For example:
Code: Select all
%xt%enterH%-1%<room backgnd="screens/home0.swf" engine="engines/new.swf" icon="" id="_hr4" name="Home" owner="new2" type="livingroom">
<point>default: 630, 380</point>
is split into two messages instead being merged into one.
With the newest bluebox the problem is even worse, as it does not merge back messages that get split and most of our XML has newlines in it.