Commit Graph

332 Commits (edc52a67f0351e48e1663d12fece2da413d617c5)

Author SHA1 Message Date
Brian Cully f6f447b421 net.dns: Update synchronous path for new connection API 16 years ago
Matthew Wild 894d946691 net.server_event: Add properties like _ip and _port to server objects too 16 years ago
Matthew Wild c5377ba75f net.server_event: Add :serverport() method to be compatible with old API 16 years ago
Matthew Wild f43c95856a httpserver_listener: Update for new connection API 16 years ago
Matthew Wild f975e9028d net.httpserver: Fix usage of old connection API syntax 16 years ago
Matthew Wild 518fdb5c44 xmppserver_listener: Make log messages during SRV retries clearer 16 years ago
Matthew Wild 897287609c xmppserver_listener: When a connection fails, pass the reason to destroy_session 16 years ago
Matthew Wild b0055aa7b5 net.server_event: Load ssl/socket libraries if not already available 16 years ago
Matthew Wild 883e2bd682 net.http: Don't expect the body on redirects 16 years ago
Waqas Hussain c7fa0dd97e net.httpserver: Removed mime handling (now in mod_httpserver). Unknown dynamic content is now always served as text/html. 16 years ago
Waqas Hussain 005e186fc8 multiplex_listener: Initial commit. Multiple protocols on a single port. 16 years ago
Matthew Wild 997f8c16d6 net.server_event: Add get_backend() method 16 years ago
Matthew Wild 52ae20cb47 net.server_select: Add get_backend() method 16 years ago
Matthew Wild 0ec240d5e3 Rename closeallservers to closeall in the public API (same as net.server_select) and expose setquitting 16 years ago
Matthew Wild 7afd141b85 net.server_event: Add setquitting() function to be compatible with net.server_select 16 years ago
Matthew Wild c990578ae0 net.server_event: Fix closeallservers() to work correctly after the giant refactorizification 16 years ago
Matthew Wild 0e534e4ba5 net.server_event: Return "quitting" on loop exit to be compatible with net.server_select, and give Prosody a way to know why the loop broke 16 years ago
Paul Aurich d92cd1e697 Disable SSLv2 by default, it's known to be insecure. 16 years ago
Matthew Wild c0780f8d84 net.server_select, net.server_event: Convert to unix line endings from Windows 16 years ago
Matthew Wild 90cf9371a5 net.server_select: Restore checks for wantread/timeout errors on receive 16 years ago
Sjoerd Simons 2c89ba5b4b net.server_select: Add a function to just lock a stream for reading 16 years ago
Matthew Wild 6ef7cc4d5a net.server_select: Make bufferlen() method return, of all things, the buffer length 16 years ago
Matthew Wild 1ecc27bdca net.server_event: Port fix in 2dc9bbf25447 to libevent-based backend 16 years ago
Matthew Wild 99e33affa4 net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons) 16 years ago
Matthew Wild 490f351cec net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...) 16 years ago
Matthew Wild 85cf0d2661 net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use 16 years ago
Matthew Wild 44066a0897 modulemanager, net.dns: Remove trailing whitespace 16 years ago
Matthew Wild 7fa0954aaf net.httpserver: Fix to work with new server API 16 years ago
Matthew Wild abb55058b0 net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types 16 years ago
Matthew Wild 4267a24ab7 xmppserver_listener: Update for new server API, fixes traceback when closing s2s connections 16 years ago
Matthew Wild fc078849d5 net.server_select: Update conn.close() to use new connection method convention 16 years ago
Matthew Wild 546954e85c net.server_event: Add addclient/wrapclient compatible with server_select, DNS and s2s should now work with libevent \o/ 16 years ago
Matthew Wild 422a717900 net.server_event: tostring() some debug logging parameters 16 years ago
Matthew Wild 7dae521ba5 net.server_event: Add set_send() for compatibility with server_select 16 years ago
Matthew Wild 944ab8a84e net.server_event: Hide starttls function when the connection is not SSL-enabled 16 years ago
Matthew Wild e6d079f887 net.server_event: Count the number of client connections *upwards* :) 16 years ago
Matthew Wild 05348c61f3 net.server_handler: Add stub handlers as fallbacks for those listeners don't implement 16 years ago
Matthew Wild df4d4cd445 net.server_event: Fix to make ontimeout() listener callback work 16 years ago
Matthew Wild 9d32568d5d net.server_select: Rename server.setsend() to server.set_send() for consistency 16 years ago
Matthew Wild 4a3a52f7a1 net.adns: Some cleanup, happens to also make it compatible with libevent 16 years ago
Matthew Wild f5afdcb564 core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls 16 years ago
Waqas Hussain 4e56a3c519 xmppclient_listener: Escape control characters when logging invalid XML. 16 years ago
Waqas Hussain 3d08f189a3 net.server: Log an error when libevent is requested, but luaevent is unavailable, and don't load luaevent when not requested. 16 years ago
Matthew Wild 61285cd82a net.server: Add some comments to explain to waqas how it all works :) 16 years ago
Matthew Wild 92e03c5a04 xmppcomponent_listener: Use new API for writing to components, fixes traceback (thanks Tobias) 16 years ago
Matthew Wild 24dba04dcb net.server_select: Bring up to date to new common connection API 16 years ago
Matthew Wild 54d5d4f69d net.httpserver, net.http: Update for new net.server API (untested) 16 years ago
Matthew Wild 31dd611284 *_listener: Update for new net.server API, specifically .listener -> .onincoming, .disconnect -> .ondisconnect 16 years ago
Matthew Wild 8f2a8c9c09 net.adns: Update for new net.server API (doesn't work with libevent yet) 16 years ago
Matthew Wild 2b683fc8e6 net.server_event: Comment accidentally uncommented vdebug() 16 years ago