aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* multiplex_listener: Initial commit. Multiple protocols on a single port.Waqas Hussain2009-12-101-0/+46
|
* net.server_event: Add get_backend() methodMatthew Wild2009-12-081-0/+5
|
* net.server_select: Add get_backend() methodMatthew Wild2009-12-081-0/+5
|
* Rename closeallservers to closeall in the public API (same as ↵Matthew Wild2009-12-071-1/+2
| | | | net.server_select) and expose setquitting
* net.server_event: Add setquitting() function to be compatible with ↵Matthew Wild2009-12-071-0/+8
| | | | net.server_select
* net.server_event: Fix closeallservers() to work correctly after the giant ↵Matthew Wild2009-12-071-2/+2
| | | | refactorizification
* net.server_event: Return "quitting" on loop exit to be compatible with ↵Matthew Wild2009-12-071-1/+2
| | | | net.server_select, and give Prosody a way to know why the loop broke
* Disable SSLv2 by default, it's known to be insecure.Paul Aurich2009-12-041-0/+1
|
* net.server_select, net.server_event: Convert to unix line endings from WindowsMatthew Wild2009-12-042-1707/+1707
|
* net.server_select: Restore checks for wantread/timeout errors on receiveMatthew Wild2009-12-031-1/+1
|
* net.server_select: Add a function to just lock a stream for readingSjoerd Simons2009-12-031-10/+17
|
* net.server_select: Make bufferlen() method return, of all things, the buffer ↵Matthew Wild2009-12-031-1/+1
| | | | length
* net.server_event: Port fix in 2dc9bbf25447 to libevent-based backendMatthew Wild2009-12-031-1/+1
|
* net.server_select: Fix possibility of losing data sent from a socket just ↵Matthew Wild2009-12-031-1/+1
| | | | before it closes (thanks Sjoerd Simons)
* net.dns: Fix for blocking dns lookups to find waiting coroutines correctly ↵Matthew Wild2009-12-031-1/+1
| | | | (not that we use this in Prosody...)
* net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to useMatthew Wild2009-12-031-8/+5
|
* modulemanager, net.dns: Remove trailing whitespaceMatthew Wild2009-12-021-1/+1
|
* net.httpserver: Fix to work with new server APIMatthew Wild2009-12-021-1/+1
|
* net.httpserver: Quick fix to set the correct Content-Type on simple (string) ↵Matthew Wild2009-12-021-0/+6
| | | | responses, for a few known types
* xmppserver_listener: Update for new server API, fixes traceback when closing ↵Matthew Wild2009-11-281-3/+3
| | | | s2s connections
* net.server_select: Update conn.close() to use new connection method conventionMatthew Wild2009-11-281-1/+1
|
* net.server_event: Add addclient/wrapclient compatible with server_select, ↵Matthew Wild2009-11-261-23/+25
| | | | DNS and s2s should now work with libevent \o/
* net.server_event: tostring() some debug logging parametersMatthew Wild2009-11-261-3/+3
|
* net.server_event: Add set_send() for compatibility with server_selectMatthew Wild2009-11-261-0/+3
|