summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr
AgeCommit message (Expand)AuthorFilesLines
2021-04-02swap rname and mname in debug output, and handle the USE_CD flageric1-3/+4
2021-01-26When checking for available address family for AI_ADDRCONFIG considerflorian1-1/+16
2021-01-06Fix two issues related to thread private data in asr.otto1-3/+21
2020-12-21Always call endservent_r() after getservbyport_r().eric2-13/+17
2020-07-06Add support for timeconting in userland.pirofti1-4/+4
2020-06-07In the libc resolver function asr_run(), clear the result buffer everytime,deraadt1-1/+3
2019-10-24Allow the caller of asr functions to create and use a specific context.otto2-9/+61
2019-09-28correctly handle read(2) return value.eric1-3/+10
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt3-6/+6
2019-06-27If we don't receive a reply packet the res_send subquery will already havemartijn1-7/+5
2019-06-17Allow setting of retransmission intervasl via _res.retrans. Ugly API butotto1-1/+4
2019-01-14Unbreak tree. Last minute changes are evil.otto2-4/+4
2019-01-14There are cases where a program doing dns requests wants to set theotto2-2/+6
2018-11-03For correctness, do not read struct servent if getservbyname_r() failed.eric1-7/+5
2018-10-22More "explicitely" -> "explicitly" in various comments.krw2-4/+4
2018-04-28To allow us to get rid of /etc/networks, make getnetby*(3)schwarze5-442/+79
2018-04-28Minor cleanup, no functional change:schwarze1-8/+3
2018-03-13Fix commentsjca1-6/+5
2018-02-06make sure that all error paths are correctly handled in asr_run_sync()eric1-18/+33
2017-09-23Kill unused functionjca1-9/+1
2017-03-15use recallocarray to resize buffer - ensures that detritus from previousderaadt1-2/+2
2017-03-14don't need to handle the malloc case special, since realloc worksderaadt1-9/+1
2017-02-27Add support for RES_USE_DNSSECjca4-13/+22
2017-02-27Recognize and allow bits AD and CD in DNS replies.jca2-6/+9
2017-02-27Put a common flags field in the query struct, rather than in somejca5-21/+19
2017-02-23Put a common subq pointer in the query struct, rather than one in eacheric8-53/+40
2017-02-21missing breakseric2-2/+4
2017-02-21Report the errno set by getifaddrs(3) if the setup for AI_ADDRCONFIG fails,eric1-4/+5
2017-02-19Use T_OPT instead of literal "41".jca1-2/+2
2017-02-18Use more specific error codes for invalid packets.eric1-4/+15
2017-02-18Add EDNS0 support.jca6-12/+39
2017-02-17use common errnos instead of random strings as error indicators ineric3-15/+16
2017-02-17Increase UDP packet buffer to 4096 bytes from 512. There are some reallykrw1-2/+4
2016-12-18Remove prototype for static function _asr_resolver. Eliminates gcckrw1-2/+1
2016-08-20Declare all _asr_* debug functions as hidden.jca1-8/+8
2016-06-18Remove duplicated line.reyk1-2/+1
2016-05-27typo fixes; Anthony Coultersthen1-2/+2
2016-05-26Calculate elapsed time in poll() and subtract that from the remaining timejmatthew1-4/+19
2016-04-05Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specificguenther1-4/+4
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-16/+1
2016-03-23Initialize _res_ext.nsaddr_list alongside _res.nsaddr_list.chrisz1-9/+16
2016-02-24Avoid a possible double-free if the "search" keyword is used multiple times.eric1-2/+4
2015-12-16Remove support for HOSTALIASES from the resolver. This "open and parsederaadt5-66/+7
2015-11-23Remove support for "lookup yp" in /etc/resolv.conf. This historicalderaadt4-239/+7
2015-11-05Set the name server counter in __res_state correctly if a nameserverbluhm1-2/+2
2015-11-05When filling the __res_state compatibiliy struct, a long list ofbluhm1-4/+8
2015-10-28We are always using _PATH_RESCONF, so no need to remember the path oneric3-21/+6
2015-10-28Remove support for [addr]:port syntax from the "nameserver" line.deraadt1-22/+1
2015-10-23Switch to using SOCK_DNS flag, rather than the dnssocket() andderaadt1-3/+4
2015-10-18libc DNS functions will now use the new dnssocket() / dnsconnect()deraadt1-3/+3