aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* | net.adns: Don't treat locally-initiated disconnects as fatal with libevent ↵Matthew Wild2010-02-181-6/+8
| | | | | | | | backend in use (thanks Flo)
* | net.server_event: Pass false as connection error to disconnect handler if ↵Matthew Wild2010-02-181-1/+1
| | | | | | | | close was initiated by us
* | net.server_event: Increase SSL handshake timeout to 30s, make handshake ↵Matthew Wild2010-02-171-4/+4
| | | | | | | | round-trip count configurable, and bump connect timeout to 20s (thanks Flo)
* | net.adns: Fix potential traceback on DNS responses with libevent enabled ↵Matthew Wild2010-02-161-1/+3
| | | | | | | | (thanks Flo)
* | net.server: Remove redundant commented code and some trailing whitespaceMatthew Wild2010-02-151-2/+1
| |
* | net.server_event: Fire onincoming() callback for new connections as opposed ↵Matthew Wild2010-02-141-1/+2
| | | | | | | | to the new onconnect() - let's change this for a future version though
* | net.server_event: Fix another instance of creating an SSL context - ↵Matthew Wild2010-02-141-1/+1
| | | | | | | | certmanager now does this
* | net.server_event: Fix traceback in creating SSL contextMatthew Wild2010-02-141-1/+1
| |
* | net.dns: Normalize records before placing them in the cache, fixes issues ↵Matthew Wild2010-02-121-4/+5
| | | | | | | | with CNAME targets in CAPS (fixes #161)
* | net.dns: Update for new socket APIMatthew Wild2010-02-121-1/+1
| |
* | net.server_event: Fixes for traceback with no LuaSecMatthew Wild2010-02-111-3/+4
| |
* | net.server_select: Small indentation fixMatthew Wild2010-02-111-1/+1
| |
* | net.server_select: Fix traceback with no LuaSec available (thanks Nolan)Matthew Wild2010-02-111-3/+5
| |
* | net.server_select: Only allow starttls if luasec is available (thanks Nolan)Matthew Wild2010-02-101-55/+57
| |
* | net.server_select: *Major* whitespace refactoring to meet Prosody's coding ↵Matthew Wild2010-02-101-654/+655
| | | | | | | | style guidelines, we now have tabs
* | net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set ↵Waqas Hussain2010-02-102-2/+2
| | | | | | | | for consistency.
* | net.dns: Fixed whitespace/indentation.Waqas Hussain2010-02-101-3/+2
| |
* | net.dns: Removed unused function.Waqas Hussain2010-02-101-5/+0
| |
* | net.dns: Removed some useless indirection to improve readability.Waqas Hussain2010-02-101-10/+9
| |
* | net.httpserver: Make request.conn be the server.lua conn instead of the ↵Matthew Wild2010-02-081-2/+2
| | | | | | | | underlying socket (more useful this way)
* | net.httpserver: Trailing whitespaceMatthew Wild2010-02-081-3/+3
| |
* | net.server_event: Update for compatibility with new server APIMatthew Wild2010-01-311-12/+13
| |
* | net.xmppserver_listener: status -> onstatus for consistencyMatthew Wild2010-01-311-1/+1
| |
* | net.server_select: listener.status -> listener.onstatus for consistencyMatthew Wild2010-01-311-1/+2
| |
* | net.adns: Use different flavour of voodoo to make UDP sockets work smoothly ↵Matthew Wild2010-01-311-2/+5
| | | | | | | | with libevent (no packet merging)
* | net.adns: Trailing whitespaceMatthew Wild2010-01-311-2/+2
| |
* | net.connlisteners: Return an error if no SSL context is supplied for a ↵Matthew Wild2010-01-311-0/+4
| | | | | | | | connection of type 'ssl'
* | net.server_select: Report whether a new listener uses SSL or not in the log ↵Matthew Wild2010-01-311-1/+1
| | | | | | | | message
* | net.connlisteners: Remove redundant variable declarationMatthew Wild2010-01-311-1/+0
| |
* | net.connlisteners: Update for new server API, type == 'tls' now means little ↵Matthew Wild2010-01-311-9/+1
| | | | | | | | - all connections support TLS
* | net.server_select: Remove startssl parameter to the client/server creation ↵Matthew Wild2010-01-311-117/+61
| | | | | | | | functions - passing a sslctx now indicates you want to use SSL from the start
* | net.server_event: Trailing whitespaceMatthew Wild2010-01-291-23/+23
| |
* | net.server_event: Support :setlistener() method on connections to work with ↵Matthew Wild2010-01-291-0/+5
| | | | | | | | port multiplexing
* | xmppcomponent_listener: Update for new connection APIMatthew Wild2010-01-221-1/+1
| |
* | net.httpserver: More robust handling of headers split across multiple packetsMatthew Wild2010-01-211-4/+11
| |
* | net.httpserver: Make it possible to return responses with no bodyMatthew Wild2010-01-211-4/+4
| |
* | net.httpserver: Close connection on invalid HTTP status lineMatthew Wild2010-01-211-1/+4
| |
* | net.server_{select,event}: Fail gracefully if socket doesn't have a ↵Matthew Wild2010-01-212-2/+8
| | | | | | | | setoption method (LuaSec issue I think)
* | net.server_event: Replace all calls to _start_ssl() to its bigger brother ↵Matthew Wild2010-01-211-2/+2
| | | | | | | | starttls() - fixes 5223 w/ libevent
* | net.xmppserver_listener: Handle stream-error errors from xmlhandlers, and ↵Matthew Wild2010-01-191-1/+20
| | | | | | | | close session in response
* | net.xmppserver_listener: Extend session:close() with a remote_reason parameterMatthew Wild2010-01-191-2/+2
| |
* | net.xmpp{client,server,component}: Update for new xmlhandlers syntaxMatthew Wild2010-01-193-9/+6
| |
* | net.xmppserver_listener: Pass reason for session disconnection to disconnect ↵Matthew Wild2010-01-191-1/+1
| | | | | | | | handler, if known
* | net.server_event: Remove access to starttls method when starttls is ↵Matthew Wild2010-01-181-0/+1
| | | | | | | | negotiated - fixes offering starttls to client who are already using it (thanks darkrain and Adium)
* | xmppclient_listener: Allow the tcp_keepalives option in the config to ↵Matthew Wild2010-01-121-0/+7
| | | | | | | | control whether keepalives are used
* | net.server_event: Add conn:setoption() to set options on the socketMatthew Wild2010-01-121-0/+4
| |
* | net.server_select: Add conn:setoption() to set options on the socketMatthew Wild2010-01-121-0/+3
| |
* | net.server: When libevent backend is in use, override signal.signal to use ↵Matthew Wild2010-01-101-0/+17
| | | | | | | | server.hook_signal
* | net.server_event: Add server.hook_signal(signal_num, handler) to wrap ↵Matthew Wild2010-01-101-1/+17
| | | | | | | | libevent's signal-catching interface
* | net.dns: Make sure math.randomseed() gets passed an integerMatthew Wild2010-01-071-1/+1
| |