summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0325.py
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2022-06-22 11:39:44 +0200
committerGeorg Lukas <georg@op-co.de>2022-06-22 11:39:44 +0200
commitb44ab17c8f2243a065d80755ce0492bfabb9b29d (patch)
treedd2a10c8f725c182bb576452c73a677e3e70c52f /tests/test_stream_xep_0325.py
parent5ceb48bbcd842962f8b8d206fddbce1dcfe7c069 (diff)
downloadslixmpp-b44ab17c8f2243a065d80755ce0492bfabb9b29d.tar.gz
slixmpp-b44ab17c8f2243a065d80755ce0492bfabb9b29d.tar.bz2
slixmpp-b44ab17c8f2243a065d80755ce0492bfabb9b29d.tar.xz
slixmpp-b44ab17c8f2243a065d80755ce0492bfabb9b29d.zip
Fix delayed reconnect after DNS failure
The XML stream will re-schedule a reconnect on socket errors, except for DNS failures. If a user has no uplink connection, then DNS will also fail, preventing an automatic reconnection. This patch consolidates the two code paths and sets a maximum back-off time of 5min (300s).
Diffstat (limited to 'tests/test_stream_xep_0325.py')
0 files changed, 0 insertions, 0 deletions