double "bind" requests after reconnecting to xmpp server

Bug #1058180 reported by tipok on 2012-09-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loudmouth (Ubuntu)

Bug Description

Description: Ubuntu 12.04.1 LTS
Release: 12.04

Source: loudmouth
Version: 1.4.3-8

After re-connecting to xmpp server (without reinitialization of LmConnection structure), the library adding connection_features_cb(), even if it's already allocated before. This callback sends second "bind" request to the server after second call of lm_connection_open(), and broke authorization, where server responds with error 400 (unknown-sender) for each sent message. The patch that fixes this is attached.

tipok (piratfm) wrote :

The attachment "fix connection features cb" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers