summaryrefslogtreecommitdiffstats
path: root/ipapython/errors.py
diff options
context:
space:
mode:
authorTomas Krizek <tkrizek@redhat.com>2016-11-23 13:55:14 +0100
committerMartin Basti <mbasti@redhat.com>2016-12-01 15:20:21 +0100
commitaf0ba661889c2e2c9a35d4cff9681c2abab73649 (patch)
treef5ac0ca4049d0952c9466ff376e5642b11363701 /ipapython/errors.py
parent027fc32fe0424659c5aecb4531299fe8d4a503d3 (diff)
downloadfreeipa-af0ba661889c2e2c9a35d4cff9681c2abab73649.tar.gz
freeipa-af0ba661889c2e2c9a35d4cff9681c2abab73649.tar.xz
freeipa-af0ba661889c2e2c9a35d4cff9681c2abab73649.zip
ipa-replica-conncheck: do not close listening ports until required
Previously, a separate thread would be created for each socket used for conncheck. It would also time out after one second, after which it would be closed and reopened again. This caused random failures of conncheck. Now all sockets are handled in a single thread and once the server starts to listen on a port, it does not close that connection until the script finishes. Only IPv6 socket is used for simplicity, since it can handle both IPv6 and IPv4 connections. This requires IPv6 kernel support, which is required by other parts of IPA anyway. https://fedorahosted.org/freeipa/ticket/6487 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipapython/errors.py')
0 files changed, 0 insertions, 0 deletions