summaryrefslogtreecommitdiff
path: root/lib/libc/asr
AgeCommit message (Expand)Author
2021-01-26When checking for available address family for AI_ADDRCONFIG considerFlorian Obser
2021-01-06Fix two issues related to thread private data in asr.Otto Moerbeek
2020-12-21Always call endservent_r() after getservbyport_r().Eric Faurot
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-06-07In the libc resolver function asr_run(), clear the result buffer everytime,Theo de Raadt
2019-10-24Allow the caller of asr functions to create and use a specific context.Otto Moerbeek
2019-09-28correctly handle read(2) return value.Eric Faurot
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-27If we don't receive a reply packet the res_send subquery will already haveMartijn van Duren
2019-06-17Allow setting of retransmission intervasl via _res.retrans. Ugly API butOtto Moerbeek
2019-01-14Unbreak tree. Last minute changes are evil.Otto Moerbeek
2019-01-14There are cases where a program doing dns requests wants to set theOtto Moerbeek
2018-11-03For correctness, do not read struct servent if getservbyname_r() failed.Eric Faurot
2018-10-22More "explicitely" -> "explicitly" in various comments.Kenneth R Westerback
2018-04-28To allow us to get rid of /etc/networks, make getnetby*(3)Ingo Schwarze
2018-04-28Minor cleanup, no functional change:Ingo Schwarze
2018-03-13Fix commentsJeremie Courreges-Anglas
2018-02-06make sure that all error paths are correctly handled in asr_run_sync()Eric Faurot
2017-09-23Kill unused functionJeremie Courreges-Anglas
2017-03-15use recallocarray to resize buffer - ensures that detritus from previousTheo de Raadt
2017-03-14don't need to handle the malloc case special, since realloc worksTheo de Raadt
2017-02-27Add support for RES_USE_DNSSECJeremie Courreges-Anglas
2017-02-27Recognize and allow bits AD and CD in DNS replies.Jeremie Courreges-Anglas
2017-02-27Put a common flags field in the query struct, rather than in someJeremie Courreges-Anglas
2017-02-23Put a common subq pointer in the query struct, rather than one in eachEric Faurot
2017-02-21missing breaksEric Faurot
2017-02-21Report the errno set by getifaddrs(3) if the setup for AI_ADDRCONFIG fails,Eric Faurot
2017-02-19Use T_OPT instead of literal "41".Jeremie Courreges-Anglas
2017-02-18Use more specific error codes for invalid packets.Eric Faurot
2017-02-18Add EDNS0 support.Jeremie Courreges-Anglas
2017-02-17use common errnos instead of random strings as error indicators inEric Faurot
2017-02-17Increase UDP packet buffer to 4096 bytes from 512. There are some reallyKenneth R Westerback
2016-12-18Remove prototype for static function _asr_resolver. Eliminates gccKenneth R Westerback
2016-08-20Declare all _asr_* debug functions as hidden.Jeremie Courreges-Anglas
2016-06-18Remove duplicated line.Reyk Floeter
2016-05-27typo fixes; Anthony CoulterStuart Henderson
2016-05-26Calculate elapsed time in poll() and subtract that from the remaining timeJonathan Matthew
2016-04-05Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specificPhilip Guenther
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2016-03-23Initialize _res_ext.nsaddr_list alongside _res.nsaddr_list.Christopher Zimmermann
2016-02-24Avoid a possible double-free if the "search" keyword is used multiple times.Eric Faurot
2015-12-16Remove support for HOSTALIASES from the resolver. This "open and parseTheo de Raadt
2015-11-23Remove support for "lookup yp" in /etc/resolv.conf. This historicalTheo de Raadt
2015-11-05Set the name server counter in __res_state correctly if a nameserverAlexander Bluhm
2015-11-05When filling the __res_state compatibiliy struct, a long list ofAlexander Bluhm
2015-10-28We are always using _PATH_RESCONF, so no need to remember the path onEric Faurot
2015-10-28Remove support for [addr]:port syntax from the "nameserver" line.Theo de Raadt
2015-10-23Switch to using SOCK_DNS flag, rather than the dnssocket() andTheo de Raadt
2015-10-18libc DNS functions will now use the new dnssocket() / dnsconnect()Theo de Raadt
2015-10-08fix conditionalsEric Faurot