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

Nick Mathewson wrote:
> Hello again, and thank you for your patience.  This the latest version
> of my patch to add DNS server support to evdns.c.  This time it
> incorporates regression tests.  While writing the tests, it proved
> necessary to extend evdns_nameserver_ip_add to allow an IP:port
> syntax.  The tests also turned up a bug in evdns_resolve_reverse,
> where the correct TTL would never be sent to the callback; this patch
> also fixes that bug.
> 
> Summary:
>    This patch adds DNS server support to evdns.c.  It provides an
>    external API for clients to register a dns server socket, and a
>    callback that will learn about DNS requests.  After examining the
>    request, the caller should eventually drop it by calling
>    evdns_server_request_drop() or add answers with
>    evdns_Server_request_add_*_reply() and send the final result with
>    evdns_server_request_respond().
> 
>    Extend evdns_nameserver_ip_add() to accept IP:Port syntax for
>    nameservers running on ports other than 53.
> 
>    Fix handling of TTLs in reverse lookups.
> 

Please, why put these really big http and dns protocols into an event
handling library? I would prefer libevent to stay focused on providing
portable select() and alternatives wrappers.

The http and evdns are pretty big compared to the rest of libevent. They
can be put in their own library(or -ies) perhaps? Some sort of
libevent-driven application support?

Trying to promote simple and clean,
   Wouter Wijngaards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFvzgNkDLqNwOhpPgRAjgpAJ90lv0Xsj9djhNGd4x88ApOqD7Y+ACeNruT
PnjjwQAIgwdOWNC+L/hcHSQ=
=OMrE
-----END PGP SIGNATURE-----
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to