[PATCH] libcli/dns: Time out requests after a while

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Oct 14 02:20:34 MDT 2012


On Sun, Oct 14, 2012 at 01:32:47AM +0200, Kai Blin wrote:
> Time out UDP requests after DNS_REQUEST_TIMEOUT seconds. Currently set
> to 1 second.

Would it be possible to use tevent_req_set_endtime() in
dns_udp_request_send? If I get it right, this is exactly
made for timing out requests.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list