[SSSD] [PATCH] Band-aid for handling very large DNS replies

Stephen Gallagher sgallagh at redhat.com
Thu Jan 21 15:44:24 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


c-ares will fall back to TCP if the UDP lookup reply has the TRUNCATED
flag set. Our mainloop integration is not properly handling the
bidirectional TCP communication.

c-ares can be configured to ignore the TRUNCATED flag and just work with
the shortened list of responses it receives over UDP. This patch will
implement that solution in the short-term while we try to solve the
bigger integration issue.

My efforts in the integration area seem to be implying that there may be
a bug in c-ares itself where it's not properly informing the mainloop
when it wants to write, so this may be a very long process.

- -- 
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.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktYdlgACgkQeiVVYja6o6PKYwCfVtG7edF+sJf1cEDy62palXYR
k/QAn3B7jIC9XSDM6T6OdhEVZjnYqiws
=Hl+m
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-fall-back-to-TCP-in-the-async-resolver.patch
Type: text/x-patch
Size: 1523 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100121/0d6bfa0a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-fall-back-to-TCP-in-the-async-resolver.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100121/0d6bfa0a/attachment.sig>


More information about the sssd-devel mailing list