Commit Graph

46 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Kim Alvefur 8c73ea0b22 util.dependencies: Tone down lua-unbound dependency for now 6 years ago
Kim Alvefur bde46d79cd net.adns: Log a warning if loaded (because net.unbound wasn't) 6 years ago
Matthew Wild 5ac8804435 net.adns: Add :lookup_promise() method 6 years ago
Kim Alvefur bf79ad07b2 net.adns: Remove unused local [luacheck] 7 years ago
Kim Alvefur 75bfec7731 net.*: Remove tostring call from logging 7 years ago
Kim Alvefur 78dd613bca net.adns: Import setmetatable into a local (fixes traceback on Lua 5.2) 8 years ago
Matthew Wild a2e27dd4fb net.adns: Restructure to allow creating separate resolver objects, like net.dns 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Anton Shestakov 45af943ce3 net.adns: remove unused local variables t_insert and t_remove [luacheck] 10 years ago
Kim Alvefur 69652ea24b net.*: Remove use of module() function 11 years ago
Kim Alvefur e6ae3454cf net.adns: Log peername recorded from wrapped setpeername instead of calling sock:getpeername, it exists and throws an error on unconnected sockets (thanks wirehack7) 11 years ago
Kim Alvefur be1fe5d715 net.adns: Preserve error from setpeername 11 years ago
Kim Alvefur 608509a8b5 net.adns: Add missing local declaration 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur 5b13d561ee net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix) 13 years ago
Kim Alvefur 4da406588e net.adns: Silence individual luacheck warnings instead of ignoring entire file 7 years ago
Matthew Wild f808601d10 net.adns: Handle dns.query() failures, and pass error to handler 15 years ago
Matthew Wild 3fa72ad99a net.adns: Fix logging to handle unconnected UDP sockets 15 years ago
Matthew Wild 00524419cb net.adns: Log the DNS server that a query is sent to 15 years ago
Matthew Wild 300438b5c7 net.adns: Log the DNS server that a query is sent to 15 years ago
Matthew Wild b1a22d59e4 net.adns: Handle dns.query() failures, and pass error to handler 15 years ago
Matthew Wild cad77ed8cf net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need to be created for each cancellation internal to net.dns 16 years ago
Matthew Wild e23e53d3b8 net.dns, net.adns: Move coroutine-calling logic into resolver:cancel() 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild f2a5185e00 net.adns: Don't treat locally-initiated disconnects as fatal with libevent backend in use (thanks Flo) 16 years ago
Matthew Wild 597eb290d4 net.adns: Fix potential traceback on DNS responses with libevent enabled (thanks Flo) 16 years ago
Waqas Hussain 9939a23f32 net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set for consistency. 16 years ago
Matthew Wild f19f87250a net.adns: Use different flavour of voodoo to make UDP sockets work smoothly with libevent (no packet merging) 16 years ago
Matthew Wild bc402832aa net.adns: Trailing whitespace 16 years ago
Matthew Wild 73f760c896 net.adns: Trailing whitespace 16 years ago
Matthew Wild 4a3a52f7a1 net.adns: Some cleanup, happens to also make it compatible with libevent 16 years ago
Matthew Wild 8f2a8c9c09 net.adns: Update for new net.server API (doesn't work with libevent yet) 16 years ago
Matthew Wild cbd60d6e1f net.adns: Bump log-level of DNS handler errors to, er, 'error' 16 years ago
Matthew Wild 97c697c83e net.adns: Utilise new net.dns API to handle DNS network errors 17 years ago
Matthew Wild b1b269eddd net.adns: Add some debug logging to help track down traceback 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Matthew Wild c0df633428 Add log message when DNS lookup is cancelled 17 years ago
Matthew Wild a5333a75d9 net.adns: Fix for calling handler when cancelling DNS lookup 17 years ago
Matthew Wild d2197f6ca3 net.adns: Add support for cancelling a non-blocking lookup, optionally calling the handler 17 years ago
Matthew Wild cface37b49 net.adns: Call handler for records already cached 17 years ago
Matthew Wild e7cd3523a4 net.adns: Flush buffer after sending DNS request 17 years ago
Matthew Wild 99e99bdbda net.adns: Catch errors in DNS response callbacks 17 years ago
Matthew Wild 9dd38d32f9 net.adns: Set new send in net.server after 'connecting UDP' socket 17 years ago
Matthew Wild 8abe70936d net.adns: Return _M 17 years ago
Matthew Wild 9ce14526c9 net.adns: Load the correct dns lib 17 years ago
Matthew Wild fb3b7ee05f net.adns: Add helper module for performing non-blocking DNS lookups 17 years ago