I'm using the Moderato free edition. The lightstreamer_conf.xml contains <content_length><default>300000</default></content_length>.

When the streaming data from the persistent connection reaches 300K, it re-starts a new connection. This is fine as it is the expected behavior.

In normal situation, there is no status change when the content length is reached. But under certain condition, which I don't know how to reproduce, my Javascript statusChange callback function is also invoked with a new status "STREAMING" when the 300K content length limit is reached. When this happens, the statusChange() callback is called every time the 300K limit is reached and a new connection is established.

Can someone please explain why the statusChange callback is invoked in this situation?