aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.dns: Automatically add nameserver 127.0.0.1 if /etc/resolv.conf missing ↵Matthew Wild2009-08-181-3/+6
| | | | or empty on a non-Windows system (thanks Louis Mamakos)
* core.s2smanager, xmppserver_listener: Move the responsibility of setting ↵Matthew Wild2009-08-161-6/+0
| | | | session.log from the latter to the former for incoming sessions (outgoing are already like this)
* xmppclient_listener: Remove useless commentMatthew Wild2009-08-161-2/+0
|
* core.sessionmanager, xmppclient_listener: Move responsibility for setting ↵Matthew Wild2009-08-161-3/+0
| | | | session.log to the former from the latter, much more sensible
* net.server: Comment all calls to mem_free/collectgarbage... not really ↵Matthew Wild2009-08-161-5/+5
| | | | suitable for a realtime server, let's trust Lua's GC - it's good.
* net.httpserver: Allow overriding default request handlerMatthew Wild2009-08-111-3/+4
|
* net.httpserver: Don't log response bodies!Matthew Wild2009-08-111-1/+1
|
* Merge with 0.5Matthew Wild2009-08-051-0/+1
|\
| * xmppcomponent_listener: Fix to collect component sessions on disconnectMatthew Wild2009-08-051-0/+1
| |
* | Merge with 0.5Matthew Wild2009-08-051-4/+5
|\|
| * net.httpserver: Allow response.body to be a non-stringMatthew Wild2009-08-051-4/+5
| |
* | Merge with 0.5Matthew Wild2009-07-284-6/+42
|\|
| * xmpp{client,server,component]_listener: Open stream if sending an error and ↵Matthew Wild2009-07-283-0/+15
| | | | | | | | it isn't already open. Fixes #120
| * net.server: Much improve SSL/TLS error reporting, do our best to understand ↵Matthew Wild2009-07-281-6/+27
| | | | | | | | and hide OpenSSL's ridiculously unfriendly error messages
* | Merge with 0.5Matthew Wild2009-07-271-1/+1
|\|
| * net.httpserver: Reduce log level of 'request left open' messageMatthew Wild2009-07-271-1/+1
| |
* | xmpp{client,server}_listener: Report contents of packets containing invalid XMLMatthew Wild2009-07-262-0/+2
| |
* | Merge with 0.5Matthew Wild2009-07-231-1/+8
|\|
| * net.server: Fail to open port if legacy SSL requested, but SSL not availableMatthias Diene2009-07-231-1/+6
| |
| * net.server: Remove listener from listeners table when calling removeserverMatthew Wild2009-07-231-0/+1
| |
| * net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting ↵Matthew Wild2009-07-231-0/+1
| | | | | | | | to wrap clients with a broken context
* | Merge with 0.5Matthew Wild2009-07-231-6/+8
|\|
| * net.server: Continue to initialise port listener even when SSL errors occurMatthias Diener2009-07-231-6/+8
| |
* | xmppclient_listener: Use error text as disconnect reason if there is anyMatthew Wild2009-07-181-1/+1
|/
* net.httpserver: Allow specification of the default base URL when using ↵Matthew Wild2009-07-141-3/+3
| | | | new_from_config()
* net.server: Initiate the handshake when we should, the more correcter fix ↵Matthew Wild2009-07-131-1/+2
| | | | for the previous correct fix
* net.server: Fix copyright header line endings and textMatthew Wild2009-07-121-16/+6
|
* net.server: Correct fix for SSL traceback earlierMatthew Wild2009-07-121-1/+1
|
* net.httpserver: Mark a request as secure if it is made using HTTPSMatthew Wild2009-07-121-0/+5
|
* net.httpserver: Add helper function to set up HTTP server according to given ↵Matthew Wild2009-07-121-1/+21
| | | | config options
* net.server: Don't continue with socket initialisation if SSL handshake ↵Matthew Wild2009-07-121-1/+3
| | | | failed, fixes nil socket traceback
* net.server: Don't close handler if it is already nil when SSL handshake failsMatthew Wild2009-07-121-1/+1
|
* Remove version number from copyright headersMatthew Wild2009-07-105-5/+5
|
* Add copyright header to those files missing oneMatthew Wild2009-07-106-0/+48
|
* net.xmppclient_listener: Fix potential traceback when no reason is specified ↵Matthew Wild2009-07-081-1/+1
| | | | for closing a session
* net.httpserver: Don't upset logger when response is nilMatthew Wild2009-06-281-1/+1
|
* xmppclient_listener: Pass session close reason to destroy_session (to be ↵Matthew Wild2009-06-261-2/+2
| | | | used in unavailable presence)
* net.http: (Re-)add url[en|de]code functionsMatthew Wild2009-06-121-4/+5
|
* net.server: Display server port in error messagesMatthew Wild2009-06-041-2/+2
|
* net.xmppclient_listener: Add small commentMatthew Wild2009-05-311-0/+1
|
* xmppcomponent_listener: Removed unused reference to core.eventmanagerWaqas Hussain2009-05-311-1/+0
|
* httpclient_listener: Don't use print()...Matthew Wild2009-05-291-3/+3
|
* xmppclient_listener: A connection is also secure when it uses legacy SSLMatthew Wild2009-05-291-0/+4
|
* net.server: A connection is not secure if we delay the TLS handshakeMatthew Wild2009-05-291-0/+5
|
* Add log message when DNS lookup is cancelledMatthew Wild2009-05-281-0/+1
|
* net.adns: Fix for calling handler when cancelling DNS lookupMatthew Wild2009-05-281-1/+1
|
* net.adns: Add support for cancelling a non-blocking lookup, optionally ↵Matthew Wild2009-05-261-1/+8
| | | | calling the handler
* net.dns: Add support for cancelling a coroutine-based requestMatthew Wild2009-05-261-2/+10
|
* Merge with 0.4Matthew Wild2009-05-051-1/+1
|\
| * net.httpserver: Fix for urlencoding to always produce 2 digitsMatthew Wild2009-05-041-1/+1
| |