aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.xmppcomponent_listener: Don't remove 'log' and 'close' from sessions ↵Matthew Wild2010-03-141-1/+6
| | | | when destroying, and set destroyed = true
* net.xmppcomponent_listener: Log invalid XML received from components (as we ↵Matthew Wild2010-03-141-0/+1
| | | | already do for c2s/s2s)
* net.xmppcomponent_listener: Don't allow closing a session that has already ↵Matthew Wild2010-03-141-0/+1
| | | | been destroyed
* net.xmppcomponent_listener: Close component sessions on receiving a ↵Matthew Wild2010-03-141-2/+2
| | | | </stream:stream>
* net.xmppcomponent_listener: Don't handle stream errors from component ↵Matthew Wild2010-03-141-0/+1
| | | | sessions that have already been destroyed
* net.xmppcomponent_listener: Fix to correctly handle stream errors from ↵Matthew Wild2010-03-141-5/+21
| | | | components
* net.xmppclient_listener: Fix to correctly handle stream errors from clientsMatthew Wild2010-03-141-2/+21
|
* net.xmppserver_listener: Clarify log message (for nil/false)Matthew Wild2010-03-061-1/+1
|
* net.dns: Trailing whitespaceMatthew Wild2010-03-051-2/+2
|
* net.dns: More reliable parsing of resolv.conf - allow multiple nameserver ↵Matthew Wild2010-03-051-2/+7
| | | | IPs on one line (thanks dersd)
* net.server_select: Fix for traceback when a read returns an error and no ↵Matthew Wild2010-03-051-1/+1
| | | | data (thanks dersd)
* net.server_select: Fix typoMatthew Wild2010-03-011-1/+1
|
* net.server_event: Fix some global accessesMatthew Wild2010-03-011-2/+2
|
* 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