Socket connections get closed before SparkWeb can even login.

Description

Steps to reproduce:

  1. Fill out login dialog

  2. Click login

  3. Notice page refreshes due to socketClosed event.

Environment

None

Activity

Show:
Armando Jagucki
August 18, 2008, 7:11 AM

Fixed in trunk, ConnectionManager uses XMPPSocketConnection now.

Armando Jagucki
August 18, 2008, 6:58 AM

I believe the issue is related to the null byte that is sent when using XMPPConnection's XMLSocket (in XIFF). Thus, we should use the XMPPSocketConnection which relies on the Socket class, and doesn't have the null byte at the end of its packets. As well, we shouldn't have to use the <flash:stream> type and can use the standard <stream:stream>.

Fixed

Assignee

Armando Jagucki

Reporter

Armando Jagucki