[SSSD] [PATCHES] Fixes for async resolver
Stephen Gallagher
sgallagh at redhat.com
Tue Dec 14 20:54:54 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/14/2010 03:33 PM, Sumit Bose wrote:
> On Tue, Dec 14, 2010 at 11:10:46AM -0500, Stephen Gallagher wrote:
> Patch 00001: Fix timeouts for DNS resolver
>
> options.tries specifies the number of retries. Setting this to
> zero means to try exactly once. Previously we were always trying
> twice (internally). We want to simply honor the SSSD configuration
> and fail over to the next server (or go offline) after one try.
>
>
> Patch 0002: Reschedule the fd timeout for secondary lookups
>
> We were unscheduling the timeout handler after the first lookup
> (A or AAAA) returned, but not rescheduling it if we went on to
> check the secondary record type. This resulted in the resolver
> never returning a result for the secondary lookup, which can mean
> that logins/screen unlocks after VPN drop or suspend/resume might
> never complete.
>
> Fixes https://fedorahosted.org/sssd/ticket/729
>
>> ACK to both
Pushed to master.
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk0H2Z4ACgkQeiVVYja6o6O1WQCghly+1esPUfC8gDjlhPPUbfTo
+PQAnia6rw3u71XUDJoaOxY+7yF/3PvC
=ScvC
-----END PGP SIGNATURE-----
More information about the sssd-devel
mailing list