aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* | net.server_select: Bring up to date to new common connection APIMatthew Wild2009-11-221-24/+24
| |
* | net.httpserver, net.http: Update for new net.server API (untested)Matthew Wild2009-11-222-4/+4
| |
* | *_listener: Update for new net.server API, specifically .listener -> ↵Matthew Wild2009-11-225-12/+12
| | | | | | | | .onincoming, .disconnect -> .ondisconnect
* | net.adns: Update for new net.server API (doesn't work with libevent yet)Matthew Wild2009-11-221-3/+3
| |
* | net.server_event: Comment accidentally uncommented vdebug()Matthew Wild2009-11-221-1/+1
| |
* | net.server_event: Handle and ignore 'wantread' error from receive(), treat ↵Matthew Wild2009-11-221-1/+1
| | | | | | | | as a timeout
* | net.server_event: Remove premature non-optimisationMatthew Wild2009-11-221-2/+2
| |
* | net.server_event: Fix moved line caused by Mercurial's crecord and my ↵Matthew Wild2009-11-221-1/+1
| | | | | | | | selective commits
* | net.server_event: Obey nowriting/nointerface for locks in interface methodsMatthew Wild2009-11-221-0/+2
| |
* | net.server_event: Use conn property for send/receive instead of caching, ↵Matthew Wild2009-11-221-2/+2
| | | | | | | | fixes trying to use original socket after SSL-wrapping
* | net.server_event: Set startsslcallback property to nil when we're done ↵Matthew Wild2009-11-221-0/+1
| | | | | | | | handshaking, otherwise we keep trying to repeat the handshake
* | net.server_event: Add set_sslctx() method to connectionsMatthew Wild2009-11-221-1/+3
| |
* | net.server_event: conn.usingssl -> conn._usingsslMatthew Wild2009-11-221-4/+4
| |
* | net.server_event: Use correct listener callbacksMatthew Wild2009-11-221-2/+2
| |
* | net.server_event: Small whitespace fixesMatthew Wild2009-11-221-1/+2
| |
* | net.server_event: Correct a few instances of .sslctx to ._sslctxMatthew Wild2009-11-221-2/+2
| |
* | net.server_event: Call connection's onconnect, no need to pass closures ↵Matthew Wild2009-11-221-1/+1
| | | | | | | | around now
* | net.server_event: Use connection id in all relevant loggingMatthew Wild2009-11-221-11/+11
| |
* | net.server_event: Define id property for connection objects, to aid loggingMatthew Wild2009-11-221-0/+2
| |
* | net.server_event: Define vdebug function for convenienceMatthew Wild2009-11-221-0/+1
| |
* | net.server_event: Change to new standard addserver() syntaxMatthew Wild2009-11-211-2/+2
| |
* | net.server_select: Change addserver() parameters to be compatible with new ↵Matthew Wild2009-11-211-2/+2
| | | | | | | | standard syntax
* | 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)