aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* net.server_event: Hide starttls function when the connection is not SSL-enabledMatthew Wild2009-11-261-0/+9
|
* net.server_event: Count the number of client connections *upwards* :)Matthew Wild2009-11-261-2/+2
|
* net.server_handler: Add stub handlers as fallbacks for those listeners don't ↵Matthew Wild2009-11-261-1/+8
| | | | implement
* net.server_event: Fix to make ontimeout() listener callback workMatthew Wild2009-11-261-1/+2
|
* net.server_select: Rename server.setsend() to server.set_send() for consistencyMatthew Wild2009-11-261-1/+1
|
* net.adns: Some cleanup, happens to also make it compatible with libeventMatthew Wild2009-11-261-14/+13
|
* Merge with 0.6Matthew Wild2009-11-251-1/+1
|\
| * xmppclient_listener: Escape control characters when logging invalid XML.Waqas Hussain2009-11-241-1/+1
| |
* | Merge with trunkMatthew Wild2009-11-241-2/+9
|\ \
| * | net.server: Log an error when libevent is requested, but luaevent is ↵Waqas Hussain2009-11-241-2/+9
| | | | | | | | | | | | unavailable, and don't load luaevent when not requested.
* | | core.sessionmanager, net.*_listener: Remove the evil collectgarbage() callsMatthew Wild2009-11-243-3/+0
|/ /
* | net.server: Add some comments to explain to waqas how it all works :)Matthew Wild2009-11-221-1/+6
| |
* | xmppcomponent_listener: Use new API for writing to components, fixes ↵Matthew Wild2009-11-221-1/+1
| | | | | | | | traceback (thanks Tobias)
* | 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
| |