Re: 2 forwarded messages...DNSEXT discussion of Day and Kaminsky

Simon Casady <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
Thats true except that code is only executed for an active query, new
querys do something else.  However they run cleanup which takes care
of the old fd.
The fd is closed on reuse of the query "slot" not when it is dropped.
I should have looked further.
So  nevermind.



On 3/1/09, Matthew Dempsky <[email protected]> wrote:
> On Sun, Mar 1, 2009 at 9:23 AM, Simon Casady <[email protected]> wrote:
>> The fd of sockets pushed off the queue are never closed.
>
> dns_transmit_start() calls dns_transmit_free(), which calls
> socketfree(), which closes any currently open outbound query socket.
>
> t_new() calls t_close() or t_drop() (which calls t_close() too), and
> t_close() closes the inbound TCP query socket.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.