Commit Graph

190 Commits (53295e052d0b5fde8f2d94cb8f41427876c82935)

Author SHA1 Message Date
Matthew Wild 1d9d763906 net.server: Fix missing concatenation operator in error message 16 years ago
Matthew Wild 4248f6078f net.dns: Even better parsing of nameservers from resolv.conf 17 years ago
Matthew Wild 9118f71227 net.dns: Remove elements from the cache when expired so as to not leave holes in the array 17 years ago
Matthew Wild 775c721023 net.dns: Stricter matching of nameserver entries in resolv.conf 17 years ago
Matthew Wild e0c4e19bab net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko) 17 years ago
Matthew Wild 334b002da3 net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver 17 years ago
Matthew Wild 46e4ac25f4 core.s2smanager: Don't recurse CNAMEs infinitely :) 17 years ago
Matthew Wild df867fb148 net.server: Fix traceback when closing connections with buffered data get closed during send 17 years ago
Matthew Wild 97c697c83e net.adns: Utilise new net.dns API to handle DNS network errors 17 years ago
Matthew Wild 243f4c0fb3 net.dns: Multiple internal changes and API extensions to allow for more reliable DNS lookups 17 years ago
Matthew Wild f3f4b12eb5 net.server: Add checking for nil sockets to prevent traceback 17 years ago
Matthew Wild 57cef06c8e xmppcomponent_listener: Fix to collect component sessions on disconnect 17 years ago
Matthew Wild 954ab72536 net.httpserver: Allow response.body to be a non-string 17 years ago
Matthew Wild 8ad65c2824 xmpp{client,server,component]_listener: Open stream if sending an error and it isn't already open. Fixes #120 17 years ago
Matthew Wild f63e2f139a net.server: Much improve SSL/TLS error reporting, do our best to understand and hide OpenSSL's ridiculously unfriendly error messages 17 years ago
Matthew Wild e37a04496d net.httpserver: Reduce log level of 'request left open' message 17 years ago
Matthias Diene 23a10d0390 net.server: Fail to open port if legacy SSL requested, but SSL not available 17 years ago
Matthew Wild 70f4cd7cb7 net.server: Remove listener from listeners table when calling removeserver 17 years ago
Matthew Wild 7dfac00cff net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context 17 years ago
Matthias Diener 88ed977abb net.server: Continue to initialise port listener even when SSL errors occur 17 years ago
Matthew Wild cef5dd4ef6 net.httpserver: Allow specification of the default base URL when using new_from_config() 17 years ago
Matthew Wild 3f0c5c91e3 net.server: Initiate the handshake when we should, the more correcter fix for the previous correct fix 17 years ago
Matthew Wild c9d670551e net.server: Fix copyright header line endings and text 17 years ago
Matthew Wild 86905bacbb net.server: Correct fix for SSL traceback earlier 17 years ago
Matthew Wild 2365233a56 net.httpserver: Mark a request as secure if it is made using HTTPS 17 years ago
Matthew Wild 9b42931a18 net.httpserver: Add helper function to set up HTTP server according to given config options 17 years ago
Matthew Wild 390df4ca2e net.server: Don't continue with socket initialisation if SSL handshake failed, fixes nil socket traceback 17 years ago
Matthew Wild 4273b66a6c net.server: Don't close handler if it is already nil when SSL handshake fails 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Matthew Wild 40584eef53 net.xmppclient_listener: Fix potential traceback when no reason is specified for closing a session 17 years ago
Matthew Wild 0e37b231f2 net.httpserver: Don't upset logger when response is nil 17 years ago
Matthew Wild 87ffa5ec0f xmppclient_listener: Pass session close reason to destroy_session (to be used in unavailable presence) 17 years ago
Matthew Wild 12d17990b6 net.http: (Re-)add url[en|de]code functions 17 years ago
Matthew Wild 8f7a737f08 net.server: Display server port in error messages 17 years ago
Matthew Wild def151d5ee net.xmppclient_listener: Add small comment 17 years ago
Waqas Hussain 35e4dd9978 xmppcomponent_listener: Removed unused reference to core.eventmanager 17 years ago
Matthew Wild 0d7aa536d5 httpclient_listener: Don't use print()... 17 years ago
Matthew Wild ede4cc6e86 xmppclient_listener: A connection is also secure when it uses legacy SSL 17 years ago
Matthew Wild d855a4785d net.server: A connection is not secure if we delay the TLS handshake 17 years ago
Matthew Wild c0df633428 Add log message when DNS lookup is cancelled 17 years ago
Matthew Wild a5333a75d9 net.adns: Fix for calling handler when cancelling DNS lookup 17 years ago
Matthew Wild d2197f6ca3 net.adns: Add support for cancelling a non-blocking lookup, optionally calling the handler 17 years ago
Matthew Wild c394acafc8 net.dns: Add support for cancelling a coroutine-based request 17 years ago
Matthew Wild 964ee27096 net.httpserver: Fix for urlencoding to always produce 2 digits 17 years ago
Matthew Wild ef5e994b1f net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes) 17 years ago
Matthew Wild 7be3d9f227 net.connlisteners: Lower log level of multiple listeners warning (not interesting to end-users) 17 years ago
Matthew Wild c017eb2325 net.server: Add getserver() method to find the server listening on the specified port 17 years ago
Matthew Wild d6b19a1b1b net.httpserver: Fix traceback when sending response to a destroyed request 17 years ago
Matthew Wild 37db6110c3 net.httpserver: Don't log the response body (can be binary data...) 17 years ago