talk.google.com not replying to first XML stream

Bug #242098 reported by Massimiliano Mirra
4
Affects Status Importance Assigned to Milestone
SamePlace
Fix Released
Critical
Unassigned

Bug Description

When connecting to talk.google.com with SSL, server very often does not reply to XML stream initiation. This seems limited to Firefox 3. However, if first connection is closed and another one is opened, server replies to XML stream initiation on the second one.

The correct solution is to implement a stream-timeout state in the TCP connector which triggers a disconnection and then a retry. Unfortunately there are many places where the socket transport calls back to the connector, so it may happen with other servers that a stream reply does come back in after connector has entered stream-timeout, and events from the old socket will get mixed with events from the new one, leading to very bad effects (https://answers.launchpad.net/sameplace/+question/36923). So current (ugly) solution will be to just have the connector check what server it is connecting to, and perform a "ghost" connection first if it's talk.google.com.

Changed in sameplace:
importance: Undecided → Critical
Changed in sameplace:
status: New → Fix Committed
Revision history for this message
Greg (gregmackay) wrote :

Sorry, but I'm not understanding your "fix". What do I need to do, in order for this to function.

Revision history for this message
Massimiliano Mirra (bard-hyperstruct) wrote :

Sorry, in order for what to function? The fix to this bug does not require any actions on the side of the user. If you're asking about https://bugs.launchpad.net/sameplace/+bug/241148, please do not follow up here.

Changed in sameplace:
status: Fix Committed → Fix Released
Changed in sameplace:
status: Fix Released → In Progress
Changed in sameplace:
status: In Progress → Fix Committed
Changed in sameplace:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.