aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
* | net.server_select: Fix oops in last commitMatthew Wild2010-01-061-1/+1
| |
* | net.server_select: Allow setting the logger using server.setloggerMatthew Wild2010-01-061-0/+9
| |
* | net.httpserver: Optimized response serialization.Waqas Hussain2009-12-271-16/+11
| |
* | net.dns: Update synchronous path for new connection APIBrian Cully2009-12-211-1/+1
| |
* | net.server_event: Add properties like _ip and _port to server objects tooMatthew Wild2009-12-171-0/+3
| |
* | net.server_event: Add :serverport() method to be compatible with old APIMatthew Wild2009-12-171-0/+5
| |
* | httpserver_listener: Update for new connection APIMatthew Wild2009-12-171-1/+1
| |
* | net.httpserver: Fix usage of old connection API syntaxMatthew Wild2009-12-171-3/+3
| |
* | xmppserver_listener: Make log messages during SRV retries clearerMatthew Wild2009-12-171-2/+2
| |
* | xmppserver_listener: When a connection fails, pass the reason to destroy_sessionMatthew Wild2009-12-171-1/+1
| |
* | net.server_event: Load ssl/socket libraries if not already availableMatthew Wild2009-12-171-2/+2
| |
* | net.http: Don't expect the body on redirectsMatthew Wild2009-12-101-1/+1
| |
* | net.httpserver: Removed mime handling (now in mod_httpserver). Unknown ↵Waqas Hussain2009-12-101-6/+1
| | | | | | | | dynamic content is now always served as text/html.