pidgin/pidgin

Fix XMPP not reconnecting after failed connection
release-2.x.y
2022-05-19, Belgin Știrbu
ea52fcc50e50
Fix XMPP not reconnecting after failed connection

After all the SRV hosts have been tried and they all failed,
we should signal that a connection failure has occured.

Testing Done:
Tried connecting to test@example.com. Before the patch, it just tried once then stopped. After the patch, it keeps retrying (with a timeout of a few seconds between).

Bugs closed: PIDGIN-17621

Reviewed at https://reviews.imfreedom.org/r/1455/
environment:
- DOCS_BUILD_IMAGE=pidgin/2.x.y-builders:debian-bookworm-amd64
tasks:
clean:
type: convey/clean
files:
- pidgin2-docs
docs-build:
type: docker/run
image: ${DOCS_BUILD_IMAGE}
workdir: ${CONVEY_WORKSPACE}
script:
- set -ex
- ./autogen.sh --disable-gevolution
- make -s -j$(nproc) docs
docs-clean:
type: convey/clean
files:
- pidgin2-docs
docs-export:
type: docker/export
files:
- doc/html:pidgin2-docs
import:
type: docker/import
files: .:.
plans:
clean:
stages:
- tasks: [clean]
docs:
stages:
- tasks: [docs-clean, import, docs-build, docs-export]