summaryrefslogtreecommitdiff
path: root/src/network/__dns.c
AgeCommit message (Collapse)AuthorLines
2011-09-21make dns lookups (and thus getaddrinfo) cancellableRich Felker-4/+11
2011-09-21use poll rather than select in dns lookups (also clock_gettime)Rich Felker-12/+10
if the file descriptor resource limit has been increased past FD_SETSIZE, this is actually a security issue; we could write past the end of the fd_set object. using poll makes it a non-issue, and simplifies the code at the same time. also, use clock_gettime instead of gettimeofday, for reduced bloat and better entropy.
2011-04-18dns lookups: protect against cancellation and fix incorrect error codesRich Felker-4/+10
2011-04-08fix broken dns response parsing code that made most ipv6 lookups failRich Felker-4/+6
2011-04-07fix uninitialized variables in dns lookup codeRich Felker-2/+2
2011-02-14another pointer signedness fixRich Felker-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+267