aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.server_select: Fix calling method of some handler.close()sMatthew Wild2010-03-011-4/+4
|
* net.server_event: Improve and fix potential traceback in logging of new ↵Matthew Wild2010-03-011-3/+3
| | | | incoming connections
* net.server_event: Add lock_read() method to connectionsMatthew Wild2010-02-251-0/+4
|
* net.http: Update print()s to log()s - don't ask how this came to be, I have ↵Matthew Wild2010-02-191-8/+7
| | | | no idea :)
* net.httpclient_listener: Don't notify request of closed connection if the ↵Matthew Wild2010-02-191-1/+1
| | | | close was initiated by us
* net.http: destroy_request(): Remove update for new server API, pass ↵Matthew Wild2010-02-191-2/+3
| | | | request.handler instead of request.conn to ondisconnect
* net.http: Close connection when invalid status line is received from the serverMatthew Wild2010-02-191-1/+4
|
* net.http: Don't re-destroy a request when the connection is closedMatthew Wild2010-02-191-0/+1
|
* net.http: Port commit 2f235c57d713 to net.http to fix headers in responses ↵Matthew Wild2010-02-191-5/+14
| | | | (thanks dersd)
* net.adns: Don't treat locally-initiated disconnects as fatal with libevent ↵Matthew Wild2010-02-181-6/+8
| | | | backend in use (thanks Flo)
* net.server_event: Pass false as connection error to disconnect handler if ↵Matthew Wild2010-02-181-1/+1
| | | | close was initiated by us
* net.server_event: Increase SSL handshake timeout to 30s, make handshake ↵Matthew Wild2010-02-171-4/+4
| | | | round-trip count configurable, and bump connect timeout to 20s (thanks Flo)
* net.adns: Fix potential traceback on DNS responses with libevent enabled ↵Matthew Wild2010-02-161-1/+3
| | | | (thanks Flo)
* net.server: Remove redundant commented code and some trailing whitespaceMatthew Wild2010-02-151-2/+1
|
* net.server_event: Fire onincoming() callback for new connections as opposed ↵Matthew Wild2010-02-141-1/+2
| | | | to the new onconnect() - let's change this for a future version though
* net.server_event: Fix another instance of creating an SSL context - ↵Matthew Wild2010-02-141-1/+1
| | | | certmanager now does this
* net.server_event: Fix traceback in creating SSL contextMatthew Wild2010-02-141-1/+1
|
* net.dns: Normalize records before placing them in the cache, fixes issues ↵Matthew Wild2010-02-121-4/+5
| | | | with CNAME targets in CAPS (fixes #161)
* net.dns: Update for new socket APIMatthew Wild2010-02-121-1/+1
|
* net.server_event: Fixes for traceback with no LuaSecMatthew Wild2010-02-111-3/+4
|
* net.server_select: Small indentation fixMatthew Wild2010-02-111-1/+1
|
* net.server_select: Fix traceback with no LuaSec available (thanks Nolan)Matthew Wild2010-02-111-3/+5
|
* net.server_select: Only allow starttls if luasec is available (thanks Nolan)Matthew Wild2010-02-101-55/+57
|
* net.server_select: *Major* whitespace refactoring to meet Prosody's coding ↵Matthew Wild2010-02-101-654/+655
| | | | style guidelines, we now have tabs
* net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set ↵Waqas Hussain2010-02-102-2/+2
| | | | for consistency.
* net.dns: Fixed whitespace/indentation.Waqas Hussain2010-02-101-3/+2
|
* net.dns: Removed unused function.Waqas Hussain2010-02-101-5/+0
|
* net.dns: Removed some useless indirection to improve readability.Waqas Hussain2010-02-101-10/+9
|
* net.httpserver: Make request.conn be the server.lua conn instead of the ↵Matthew Wild2010-02-081-2/+2
| | | | underlying socket (more useful this way)
* net.httpserver: Trailing whitespaceMatthew Wild2010-02-081-3/+3
|
* net.server_event: Update for compatibility with new server APIMatthew Wild2010-01-311-12/+13
|
* net.xmppserver_listener: status -> onstatus for consistencyMatthew Wild2010-01-311-1/+1
|
* net.server_select: listener.status -> listener.onstatus for consistencyMatthew Wild2010-01-311-1/+2
|
* net.adns: Use different flavour of voodoo to make UDP sockets work smoothly ↵Matthew Wild2010-01-311-2/+5
| | | | with libevent (no packet merging)
* net.adns: Trailing whitespaceMatthew Wild2010-01-311-2/+2
|
* net.connlisteners: Return an error if no SSL context is supplied for a ↵Matthew Wild2010-01-311-0/+4
| | | | connection of type 'ssl'
* net.server_select: Report whether a new listener uses SSL or not in the log ↵Matthew Wild2010-01-311-1/+1
| | | | message
* net.connlisteners: Remove redundant variable declarationMatthew Wild2010-01-311-1/+0
|
* net.connlisteners: Update for new server API, type == 'tls' now means little ↵Matthew Wild2010-01-311-9/+1
| | | | - all connections support TLS
* net.server_select: Remove startssl parameter to the client/server creation ↵Matthew Wild2010-01-311-117/+61
| | | | functions - passing a sslctx now indicates you want to use SSL from the start
* net.server_event: Trailing whitespaceMatthew Wild2010-01-291-23/+23
|
* net.server_event: Support :setlistener() method on connections to work with ↵Matthew Wild2010-01-291-0/+5
| | | | port multiplexing
* xmppcomponent_listener: Update for new connection APIMatthew Wild2010-01-221-1/+1
|
* net.httpserver: More robust handling of headers split across multiple packetsMatthew Wild2010-01-211-4/+11
|
* net.httpserver: Make it possible to return responses with no bodyMatthew Wild2010-01-211-4/+4
|
* net.httpserver: Close connection on invalid HTTP status lineMatthew Wild2010-01-211-1/+4
|
* net.server_{select,event}: Fail gracefully if socket doesn't have a ↵Matthew Wild2010-01-212-2/+8
| | | | setoption method (LuaSec issue I think)
* net.server_event: Replace all calls to _start_ssl() to its bigger brother ↵Matthew Wild2010-01-211-2/+2
| | | | starttls() - fixes 5223 w/ libevent
* net.xmppserver_listener: Handle stream-error errors from xmlhandlers, and ↵Matthew Wild2010-01-191-1/+20
| | | | close session in response
* net.xmppserver_listener: Extend session:close() with a remote_reason parameterMatthew Wild2010-01-191-2/+2
|