Commit Graph

67 Commits (613c9b00c4e9073f74e53efaa1c31ae00a73eae4)

Author SHA1 Message Date
Kim Alvefur cd8da4a60d net.dns: Make sure argument to math.randomseed does not overflow a 32 bit unsigned int. Closes #320 13 years ago
Kim Alvefur a7f6283a2e net.dns: Close voided sockets, so they don't stay in net.server 13 years ago
Matthew Wild 81b3ba1442 net.dns: Clean up query list when a server is marked down 13 years ago
Florian Zeitz a71b403617 s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." 14 years ago
Matthew Wild 3df40be7ea net.dns: Preserve metatable on manual cache purge 14 years ago
Kim Alvefur 17c863797d net.dns: Shorten AAAA records 15 years ago
Matthew Wild db55e7da51 net.dns: Support for resolving AAAA records 15 years ago
Kim Alvefur 66a908d35f net.dns: Fix TXT records 15 years ago
Matthew Wild 75862530f2 net.dns: Fix tostring() for SRV records 15 years ago
Matthew Wild d3f1852729 net.dns: resolver:query(): Handle getsocket() failures, and return true on success 15 years ago
Matthew Wild b186a9c3bf net.dns: resolver:getsocket(): Return nil, err on failure 15 years ago
Matthew Wild 91b6b03395 net.dns: Clean up tostring() of returned records, as a result PTR records can now be tostring()'d 15 years ago
Matthew Wild b05ec98945 net.dns: Add resolver:tohostname() and dns.tohostname() 15 years ago
Matthew Wild 1f2665ff51 net.dns: resolver:query(): Handle getsocket() failures, and return true on success 15 years ago
Matthew Wild 24b4c74559 net.dns: resolver:getsocket(): Return nil, err on failure 15 years ago
Matthew Wild 83fc3aa616 net.dns: Clean up tostring() of returned records, as a result PTR records can now be tostring()'d 15 years ago
Matthew Wild a99ff085ab net.dns: Add resolver:tohostname() and dns.tohostname() 15 years ago
Waqas Hussain d359b28db2 net.dns: Removed dependency on util.ztact by moving ztact.get/set in. 15 years ago
Waqas Hussain d05d634f7a net.dns: Removed dependency on util.ztact by moving ztact.get/set in. 15 years ago
Waqas Hussain d82ce21414 net.dns: Fixed a traceback when util/windows.dll is unavailable on windows. 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Matthew Wild 26cf54ee8b net.dns: Support for parsing PTR records 15 years ago
Matthew Wild 0f6754746c net.dns: Add 'force' parameter to resolver:feed() to force decoding a packet even if it doesn't match an outstanding request 15 years ago
Matthew Wild 1c51f969da net.dns: Call :cancel() on the current resolver instead of the prototype 16 years ago
Matthew Wild 90b0ef76c6 net.dns: Add dns.settimeout() to set the timeout for the default resolver 16 years ago
Matthew Wild d2b5e885a8 net.dns: Make timeout configurable (default 15s) 16 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 4b2249df84 net.dns: Handle our own timeouts, including falling onto other servers in resolv.conf if necessary 16 years ago
Matthew Wild f2b14d6d07 net.dns: Remove redundant locals declaration 16 years ago
Matthew Wild fd55f81b12 net.dns: Remove redundant locals declaration 16 years ago
Matthew Wild 1107a66e72 net.dns: Fix dns.lookup from commit e54774bd73a7 16 years ago
Matthew Wild dbe5e5fc2b net.dns: Fix dns.lookup from commit e54774bd73a7 16 years ago
Matthew Wild a201db970b net.dns: Trailing whitespace 16 years ago
Matthew Wild 322f02b17f net.dns: More reliable parsing of resolv.conf - allow multiple nameserver IPs on one line (thanks dersd) 16 years ago
Matthew Wild d6548d9810 net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161) 16 years ago
Matthew Wild 706c63594e net.dns: Update for new socket API 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
Waqas Hussain 958fddede9 net.dns: Fixed whitespace/indentation. 16 years ago
Waqas Hussain 667b411e63 net.dns: Removed unused function. 16 years ago
Waqas Hussain 588d6d7490 net.dns: Removed some useless indirection to improve readability. 16 years ago
Matthew Wild df3d5883ca net.dns: Make sure math.randomseed() gets passed an integer 16 years ago
Matthew Wild 76940508d1 net.dns: Make sure math.randomseed() gets passed an integer 16 years ago
Brian Cully f135b2f4a4 net/dns: Fix socket.select timeout. 16 years ago
Brian Cully f6f447b421 net.dns: Update synchronous path for new connection API 16 years ago
Matthew Wild 54c77c0054 net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) 16 years ago
Matthew Wild 490f351cec net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) 16 years ago
Matthew Wild 0ab240e0eb net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use 16 years ago
Matthew Wild 85cf0d2661 net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use 16 years ago
Matthew Wild 44066a0897 modulemanager, net.dns: Remove trailing whitespace 16 years ago