aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* xmppclient_listener: Use : syntax for connection methods, to be compatible ↵Matthew Wild2009-11-211-2/+2
| | | | with new server.lua
* xmppclient_listener: Switch to .onincoming listener method, to be compatible ↵Matthew Wild2009-11-211-1/+1
| | | | with new server_event.lua
* net.server: Small fix for addtimer() compatibility codeMatthew Wild2009-11-211-1/+1
|
* net.connlisteners: Standardise on new syntax for addserver(), and clean up a bitMatthew Wild2009-11-211-3/+8
|
* net.server_event: Export base as event_baseMatthew Wild2009-11-211-0/+1
|
* net.server_event: Comment overly verbose log messageMatthew Wild2009-11-211-1/+1
|
* net.server: New net.server to choose the appropriate library from ↵Matthew Wild2009-11-211-0/+21
| | | | server_select/server_event based on the availability of luaevent and the use_libevent config option
* net.server: Rename to net.server_selectMatthew Wild2009-11-211-0/+0
|
* net.server_event: Remove redundant getid() functionMatthew Wild2009-11-201-5/+0
|
* net.server_event: Initial commit of server_event.lua. Don't get too excited, ↵Matthew Wild2009-11-201-0/+759
| | | | it's not used at all yet, and is still incomplete :)
* net.dns: Be more strict about the records we cacheMatthew Wild2009-11-181-5/+4
|
* net.dns: Be more strict about checking the DNS replies we receiveMatthew Wild2009-11-181-1/+2
|
* Changed separator between attribute names and prefixes from '|' to '\1' ↵Waqas Hussain2009-11-123-9/+9
| | | | (optimization and cleanup).
* net.connlisteners: Log an error when a listener fails to load.Waqas Hussain2009-11-121-1/+4
|
* net.dns: Fixed indentation and coding style.Waqas Hussain2009-11-021-719/+751
|
* net.dns: Initialize default resolver on module load (instead of on first use).Waqas Hussain2009-11-021-1/+1
|
* net.dns: Updated to use util.windows.get_nameservers for enumerating ↵Waqas Hussain2009-11-021-13/+25
| | | | nameservers on Windows.
* net.httpserver: Pass correct connection object to disconnect listener, which ↵Matthew Wild2009-11-011-1/+1
| | | | fixes a small leak
* server.lua: Standardise on 'client' variable to refer to the socket, makes ↵Matthew Wild2009-10-261-3/+3
| | | | the code a bit cleaner
* Merge with trunkMatthew Wild2009-10-261-2/+2
|\
| * xmppserver_listener: Minor logging fix: Prefer the session logger when ↵Waqas Hussain2009-10-251-2/+2
| | | | | | | | available to log invalid XML warnings.
* | 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
| |