aboutsummaryrefslogtreecommitdiffstats
path: root/net/adns.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.adns: Reduce 'Exhausted all servers' message to warningMatthew Wild2020-12-081-1/+1
| | | | It happens often and generally doesn't require admin intervention.
* util.dependencies: Tone down lua-unbound dependency for nowKim Alvefur2020-06-271-1/+2
| | | | | | At least until packages are available Wording from MattJ
* net.adns: Log a warning if loaded (because net.unbound wasn't)Kim Alvefur2020-06-251-0/+2
|
* net.adns: Add :lookup_promise() methodMatthew Wild2020-01-241-0/+13
|
* net.adns: Remove unused local [luacheck]Kim Alvefur2019-07-301-1/+1
|
* net.*: Remove tostring call from loggingKim Alvefur2019-07-301-4/+4
| | | | Taken care of by loggingmanager now
* net.adns: Silence individual luacheck warnings instead of ignoring entire fileKim Alvefur2018-12-241-7/+9
|
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2)Kim Alvefur2017-09-271-0/+1
|
* net.adns: Restructure to allow creating separate resolver objects, like net.dnsMatthew Wild2017-09-251-33/+46
|
* net.adns: remove unused local variables t_insert and t_remove [luacheck]Anton Shestakov2016-07-091-1/+0
|
* net.*: Remove use of module() functionKim Alvefur2015-02-211-5/+9
|
* Merge 0.9 -> 0.10Kim Alvefur2014-11-091-3/+2
|\
| * net.adns: Log peername recorded from wrapped setpeername instead of calling ↵Kim Alvefur2014-10-301-2/+1
| | | | | | | | sock:getpeername, it exists and throws an error on unconnected sockets (thanks wirehack7)
| * net.adns: Preserve error from setpeernameKim Alvefur2014-10-301-1/+1
| |
* | Merge 0.9->0.10Kim Alvefur2014-06-301-0/+1
|\|
| * net.adns: Add missing local declarationKim Alvefur2014-06-251-0/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-3/+3
|/
* net.dns, net.adns: Make sure errors from net.server are propagated (thanks ↵Kim Alvefur2013-07-101-2/+2
| | | | asterix)
* net.adns: Fix logging to handle unconnected UDP socketsMatthew Wild2011-01-081-1/+2
|
* net.adns: Log the DNS server that a query is sent toMatthew Wild2011-01-041-1/+4
|
* net.adns: Handle dns.query() failures, and pass error to handlerMatthew Wild2010-12-241-4/+11
|
* net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need ↵Matthew Wild2010-07-051-1/+1
| | | | to be created for each cancellation internal to net.dns
* net.dns, net.adns: Move coroutine-calling logic into resolver:cancel()Matthew Wild2010-07-051-5/+2
|
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * net.adns: Trailing whitespaceMatthew Wild2010-01-201-2/+2
| |
* | net.adns: Don't treat locally-initiated disconnects as fatal with libevent ↵Matthew Wild2010-02-181-6/+8
| | | | | | | | backend in use (thanks Flo)
* | net.adns: Fix potential traceback on DNS responses with libevent enabled ↵Matthew Wild2010-02-161-1/+3
| | | | | | | | (thanks Flo)
* | net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set ↵Waqas Hussain2010-02-101-1/+1
| | | | | | | | for consistency.
* | net.adns: Use different flavour of voodoo to make UDP sockets work smoothly ↵Matthew Wild2010-01-311-2/+5
| | | | | | | | with libevent (no packet merging)
* | net.adns: Trailing whitespaceMatthew Wild2010-01-311-2/+2
| |
* | net.adns: Some cleanup, happens to also make it compatible with libeventMatthew Wild2009-11-261-14/+13
| |
* | net.adns: Update for new net.server API (doesn't work with libevent yet)Matthew Wild2009-11-221-3/+3
|/
* net.adns: Bump log-level of DNS handler errors to, er, 'error'Matthew Wild2009-10-051-1/+1
|
* net.adns: Utilise new net.dns API to handle DNS network errorsMatthew Wild2009-09-181-4/+18
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* Add log message when DNS lookup is cancelledMatthew Wild2009-05-281-0/+1
|
* net.adns: Fix for calling handler when cancelling DNS lookupMatthew Wild2009-05-281-1/+1
|
* net.adns: Add support for cancelling a non-blocking lookup, optionally ↵Matthew Wild2009-05-261-1/+8
| | | | calling the handler
* net.adns: Call handler for records already cachedMatthew Wild2009-04-181-5/+9
|
* net.adns: Flush buffer after sending DNS requestMatthew Wild2009-04-111-1/+1
|
* net.adns: Catch errors in DNS response callbacksMatthew Wild2009-04-101-2/+5
|
* net.adns: Set new send in net.server after 'connecting UDP' socketMatthew Wild2009-03-071-1/+1
|
* net.adns: Return _MMatthew Wild2009-03-041-0/+2
|
* net.adns: Load the correct dns libMatthew Wild2009-03-041-1/+1
|
* net.adns: Add helper module for performing non-blocking DNS lookupsMatthew Wild2009-03-041-0/+38