Commit Graph

454 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Matthew Wild f2b14d6d07 net.dns: Remove redundant locals declaration 16 years ago
Matthew Wild 1107a66e72 net.dns: Fix dns.lookup from commit e54774bd73a7 16 years ago
Brian Cully c9d2da2b2c net/httpserver_listener: Ignore empty strings on incoming data. 16 years ago
Matthew Wild 6778955731 net.server: Fix logic error causing traceback when receiving a non-number port 16 years ago
Matthew Wild 64a003d115 xmppserver_listener: Compatibility fix for older Prosodies with the s2s xmlns bug 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild eda3ad3326 net.httpclient_listener: Don't notify request of closed connection if the close was initiated by us 16 years ago
Matthew Wild 673df8d1d2 net.server_event: Fire onincoming() callback for new connections as opposed to the new onconnect() - let's change this for a future version though 16 years ago
Matthew Wild 606d78db9c net.server_event: Fix another instance of creating an SSL context - certmanager now does this 16 years ago
Matthew Wild e7b5d8c9c1 net.server_event: Fix traceback in creating SSL context 16 years ago
Matthew Wild d6548d9810 net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161) 16 years ago
Matthew Wild 706c63594e net.dns: Update for new socket API 16 years ago
Matthew Wild 6a135d14bd net.server_event: Fixes for traceback with no LuaSec 16 years ago
Matthew Wild 89d2043ed8 net.server_select: Small indentation fix 16 years ago
Matthew Wild 0a2515bd97 net.server_select: Fix traceback with no LuaSec available (thanks Nolan) 16 years ago
Matthew Wild 7f10afa423 net.server_select: Only allow starttls if luasec is available (thanks Nolan) 16 years ago
Matthew Wild 66e4eb082a net.server_select: *Major* whitespace refactoring to meet Prosody's coding style guidelines, we now have tabs 16 years ago
Waqas Hussain 9939a23f32 net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set for consistency. 16 years ago
Waqas Hussain 958fddede9 net.dns: Fixed whitespace/indentation. 16 years ago
Waqas Hussain 667b411e63 net.dns: Removed unused function. 16 years ago
Waqas Hussain 588d6d7490 net.dns: Removed some useless indirection to improve readability. 16 years ago
Matthew Wild 03384d466b net.httpserver: Make request.conn be the server.lua conn instead of the underlying socket (more useful this way) 16 years ago
Matthew Wild 46e81c8baf net.httpserver: Trailing whitespace 16 years ago
Matthew Wild 4ee9b095dd net.server_event: Update for compatibility with new server API 16 years ago
Matthew Wild 8364b91133 net.xmppserver_listener: status -> onstatus for consistency 16 years ago
Matthew Wild 0e63f231e1 net.server_select: listener.status -> listener.onstatus for consistency 16 years ago
Matthew Wild f19f87250a net.adns: Use different flavour of voodoo to make UDP sockets work smoothly with libevent (no packet merging) 16 years ago
Matthew Wild bc402832aa net.adns: Trailing whitespace 16 years ago
Matthew Wild 3d2a742ebd net.connlisteners: Return an error if no SSL context is supplied for a connection of type 'ssl' 16 years ago
Matthew Wild 9ce0027521 net.server_select: Report whether a new listener uses SSL or not in the log message 16 years ago
Matthew Wild 3a315a20ec net.connlisteners: Remove redundant variable declaration 16 years ago
Matthew Wild 6ea82b6fd9 net.connlisteners: Update for new server API, type == 'tls' now means little - all connections support TLS 16 years ago
Matthew Wild 5c117c0f25 net.server_select: Remove startssl parameter to the client/server creation functions - passing a sslctx now indicates you want to use SSL from the start 16 years ago
Matthew Wild fd8c12ab1a net.server_event: Trailing whitespace 16 years ago
Matthew Wild bf63594f0f net.server_event: Support :setlistener() method on connections to work with port multiplexing 16 years ago
Matthew Wild 040ff64c5f xmppcomponent_listener: Update for new connection API 16 years ago
Matthew Wild 08eb296248 net.httpserver: More robust handling of headers split across multiple packets 16 years ago
Matthew Wild 7d1211bac1 net.httpserver: Make it possible to return responses with no body 16 years ago
Matthew Wild ab114b1b5f net.httpserver: Close connection on invalid HTTP status line 16 years ago
Matthew Wild 4ec0f47224 net.server_{select,event}: Fail gracefully if socket doesn't have a setoption method (LuaSec issue I think) 16 years ago
Matthew Wild d532b1173a net.server_event: Replace all calls to _start_ssl() to its bigger brother starttls() - fixes 5223 w/ libevent 16 years ago
Matthew Wild 9fee99dbb9 net.xmppserver_listener: Handle stream-error errors from xmlhandlers, and close session in response 16 years ago
Matthew Wild 7404385817 net.xmppserver_listener: Extend session:close() with a remote_reason parameter 16 years ago
Matthew Wild 70e57250c8 net.xmpp{client,server,component}: Update for new xmlhandlers syntax 16 years ago
Matthew Wild e5a65ba7a3 net.xmppserver_listener: Pass reason for session disconnection to disconnect handler, if known 16 years ago
Matthew Wild c13e080420 net.server_event: Remove access to starttls method when starttls is negotiated - fixes offering starttls to client who are already using it (thanks darkrain and Adium) 16 years ago
Matthew Wild 032e7149c6 net.http: destroy_request(): Pass request.handler to disconnect() listener to fix small leak 16 years ago
Matthew Wild ead6371721 net.http: Close connection when invalid status line is received from the server 16 years ago
Matthew Wild 79382a2305 net.http: Don't re-destroy a request when the connection is closed 16 years ago
Matthew Wild 1e2242d319 net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) 16 years ago