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

Stephen Gallagher sgallagh at redhat.com
Thu Jan 21 18:07:08 UTC 2010


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

On 01/21/2010 10:44 AM, Stephen Gallagher wrote:
> 
> 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.
> 


Self-nack. I've found a real fix that will handle TCP DNS properly. New
patch coming in a new thread.

- -- 
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/

iEYEARECAAYFAktYl8UACgkQeiVVYja6o6PzCACggSjfwnpSKing/+rJDXjRfmmy
KdEAn3Sj9fcHG5eyMWTb1MlQqscoc2kJ
=tp3r
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list