aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* server.lua: Add addsocket(), refactor all code to use it, fixes nasty socket ↵Matthew Wild2009-10-261-21/+18
| | | | object leak - moral of the story is to not duplicate code, and not prematurely optimise. But you knew that already didn't you?
* connlisteners: Localize tostring, fixes possible traceback when LuaSec not ↵Matthew Wild2009-10-211-0/+1
| | | | installed
* net.dns: Don't expire records with TTL of 0 instantlyMatthew Wild2009-10-211-1/+1
|
* net.httpserver: Pass on interface option from new_from_config() (thanks Chris)Matthew Wild2009-10-191-1/+3
|
* net.dns: Don't cache some records indefinitelyMatthew Wild2009-10-171-1/+1
|
* net.server: Allow changing the sslctx of a connection after it has been ↵Matthew Wild2009-10-171-16/+22
| | | | established
* xmppserver_listener: Use listener log() if session doesn't have one yet ↵Matthew Wild2009-10-171-2/+2
| | | | (thanks Flo)
* Merge with 0.5Matthew Wild2009-10-151-1/+1
|\
| * xmppserver_listener: Fix typo (thanks Jorj)Matthew Wild2009-10-151-1/+1
| |
* | Merge with 0.5Matthew Wild2009-10-142-7/+12
|\|
| * net.server: Better handling of closing sockets during sendMatthew Wild2009-10-141-6/+9
| |
| * xmppserver_listener: More forcefully close s2s connections (fixes fd leak)Matthew Wild2009-10-141-0/+3
| |
* | Merge with 0.5Matthew Wild2009-10-131-2/+5
|\|
| * net.dns: Remove sockets from socketset when closing them, fixes a leakMatthew Wild2009-10-131-2/+5
| |
* | xmppserver_listener: Lower log-level of debug message to, er, 'debug'Matthew Wild2009-10-051-1/+1
| |
* | net.adns: Bump log-level of DNS handler errors to, er, 'error'Matthew Wild2009-10-051-1/+1
| |
* | net.server: Small logging improvementsMatthew Wild2009-10-041-3/+3
| |
* | net.server: Pass current time to timer callbacksMatthew Wild2009-10-041-1/+1
| |
* | net.server: Increase SSL handshake round-trip limit, and make it configurableMatthew Wild2009-10-041-2/+4
| |
* | net.server: Call handler's status() to notify it of ssl handshake successMatthew Wild2009-10-041-1/+2
| |
* | net.server: Provide a way to get sslctx of a client connectionMatthew Wild2009-10-041-0/+3
| |
* | net.server: Provide a way to get sslctx of a serverMatthew Wild2009-10-041-0/+3
| |
* | xmppserver_listener: Add status() function to signal when a connection ↵Matthew Wild2009-10-041-0/+11
| | | | | | | | completes its SSL handshake
* | xmppserver_listener: Add logger to s2s sessionsMatthew Wild2009-10-041-0/+6
| |
* | xmppserver_listener: Small whitespace fixMatthew Wild2009-10-041-1/+0
| |
* | xmppserver_listener: Better log messages on invalid XMLMatthew Wild2009-10-041-1/+2
| |
* | net.httpserver: Allow modules registering to provide more than just a ↵Matthew Wild2009-10-031-3/+13
| | | | | | | | default path when using httpserver.new_from_config
* | Merge with 0.5Matthew Wild2009-10-021-1/+1
|\|
| * net.server: Fix missing concatenation operator in error messageMatthew Wild2009-10-021-1/+1
| |
* | Merge with 0.5Matthew Wild2009-09-271-1/+1
|\|
| * net.dns: Even better parsing of nameservers from resolv.confMatthew Wild2009-09-251-1/+1
| |
* | Merge with 0.5Matthew Wild2009-09-241-2/+5
|\|
| * net.dns: Remove elements from the cache when expired so as to not leave ↵Matthew Wild2009-09-241-1/+4
| | | | | | | | holes in the array
| * net.dns: Stricter matching of nameserver entries in resolv.confMatthew Wild2009-09-241-1/+1
| |
* | Merge with 0.5Matthew Wild2009-09-241-2/+2
|\|
| * net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko)Matthew Wild2009-09-241-2/+2
| |
| * net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserverMatthew Wild2009-09-211-1/+0
| |
* | net.dns: (for some reason this commit didn't pull over from 0.5) Remove ↵Matthew Wild2009-09-211-1/+0
| | | | | | | | hard-coded 4.2.2.1 from dns.lua
* | Merge with 0.5Matthew Wild2009-09-212-0/+2
|\|
| * core.s2smanager: Don't recurse CNAMEs infinitely :)Matthew Wild2009-09-211-0/+1
| |
| * net.server: Fix traceback when closing connections with buffered data get ↵Matthew Wild2009-09-211-0/+1
| | | | | | | | closed during send
* | Merge with 0.5Matthew Wild2009-09-182-10/+67
|\|
| * net.adns: Utilise new net.dns API to handle DNS network errorsMatthew Wild2009-09-181-4/+18
| |
| * net.dns: Multiple internal changes and API extensions to allow for more ↵Matthew Wild2009-09-181-9/+62
| | | | | | | | reliable DNS lookups
| * net.server: Add checking for nil sockets to prevent tracebackMatthew Wild2009-08-181-7/+13
| |
* | net/dns: Fixed regression causing nameserver initialization to fail on WindowsWaqas Hussain2009-09-021-0/+1
| |
* | net.adns: Add some debug logging to help track down tracebackMatthew Wild2009-08-181-0/+6
| |
* | net.server: Add checking for nil sockets to prevent tracebackMatthew Wild2009-08-181-7/+13
| |
* | net.dns: Automatically add nameserver 127.0.0.1 if /etc/resolv.conf missing ↵Matthew Wild2009-08-181-3/+6
| | | | | | | | or empty on a non-Windows system (thanks Louis Mamakos)
* | core.s2smanager, xmppserver_listener: Move the responsibility of setting ↵Matthew Wild2009-08-161-6/+0
| | | | | | | | session.log from the latter to the former for incoming sessions (outgoing are already like this)