aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* net.http.server: Lower score of wildcard handlers to ensure specific ↵Matthew Wild2012-04-261-1/+1
| | | | handlers beat them
* net.http.server: Fix to compare priority if path lengths are the same (logic ↵Matthew Wild2012-04-261-1/+1
| | | | fail)
* net.http.server: Support for on_destroy callback on response objects, and a ↵Matthew Wild2012-04-251-0/+14
| | | | 'finished' flag to say when they are destroyed (responded to or connection closed)
* net.http.server: Small fix to commentMatthew Wild2012-04-251-1/+1
|
* net.http.server: Remove legacy compatibilityMatthew Wild2012-04-251-57/+4
|
* net.http.server: Handle results returned by handlers, and send as a ↵Matthew Wild2012-04-241-12/+20
| | | | response. Also removes explicit firing of '*', which can now be done via wildcard events.
* net.http.server: Remove debug messageMatthew Wild2012-04-241-1/+0
|
* net.server_event: Do not automatically close clients when closing a server portMatthew Wild2012-04-241-16/+3
|
* net.server_select: Remove server from _server table when closingMatthew Wild2012-04-241-0/+1
|
* net.http.server: Support for wildcard events (events that end with '/*')Matthew Wild2012-04-231-0/+51
|
* net.http.server: Fix legacy net.httpserver fallback (httpserver is no longer ↵Waqas Hussain2012-04-221-2/+3
| | | | a global).
* net.httpserver: Comment dependency on connlisteners. Further cleanup to follow.Waqas Hussain2012-04-221-4/+4
|
* multiplex_listener: Remove (already ported to mod_net_multiplex)Matthew Wild2012-04-211-50/+0
|
* mod_component: Make a shared module, and move the xmppcomponent_listener ↵Matthew Wild2012-04-211-218/+0
| | | | into it ('port'ing over to portmanager). Ha ha.
* net.connlisteners: Be gone!Matthew Wild2012-04-211-81/+0
|
* net.http.server: Fire global HTTP event when no specific handlers available.Waqas Hussain2012-04-211-0/+1
|
* net.http.server: Missing <title/> in 404 Not Found response.Waqas Hussain2012-04-211-1/+1
|
* net.http.{server|codes|parser}: Initial commit.Waqas Hussain2012-04-083-0/+405
|
* net.http, httpclient_listener: Merge listener into net.httpMatthew Wild2012-01-232-71/+47
|
* xmppserver_listener: RemoveMatthew Wild2012-01-231-209/+0
|
* mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and ↵Matthew Wild2012-01-221-179/+0
| | | | stream logic into a new module, mod_c2s
* xmppserver_listener: Only re-attempt connection on disconnect if it was an ↵Matthew Wild2012-01-171-1/+1
| | | | unauthenticated s2sout (thanks Medics for the log)
* Merge with 0.9Matthew Wild2012-01-171-2/+2
|\
| * net.http: Pass response object to callbacks (feels hacky, should this be ↵Matthew Wild2012-01-171-2/+2
| | | | | | | | passed *instead of* the request?)
* | net.server_event: Fix :pause() to actually stop reading from the socket, ↵Matthew Wild2012-01-161-1/+8
| | | | | | | | rather than ignoring socket-readable events (!), and :resume() to restart the event listener
* | net.xmppcomponent_listener: removed unused variable reference.Marco Cirillo2012-01-061-2/+0
| |
* | net.httpserver: Removed unused import.Waqas Hussain2011-12-091-1/+0
| |
* | net.xmppserver_listener: Set default interface to '*' (fixes traceback) ↵Matthew Wild2011-11-281-1/+1
| | | | | | | | (thanks Zash)
* | net.server_select: Autostart SSL negotiation as the last part of socket ↵Matthew Wild2011-11-281-12/+10
| | | | | | | | setup to avoid a traceback (#262) (thanks Maranda)
* | s2smanager, net.dns: Fix handling for NXNAME and SRV target of "."Florian Zeitz2011-10-261-0/+1
| |
* | s2smanager, xmppserver_listener: Support for connecting to other servers via ↵Florian Zeitz2011-10-221-1/+1
|/ | | | IPv6
* net.dns: Preserve metatable on manual cache purgeMatthew Wild2011-10-191-1/+1
|
* net.server_event, net.server_select: Fixed some global pollution.Waqas Hussain2011-10-142-4/+4
|
* net.server_select: Minor whitespace fix.Waqas Hussain2011-10-131-1/+1
|
* net.server_select: Never call onincoming with nil data when a listener ↵Matthew Wild2011-09-271-2/+5
| | | | doesn't have an onconnect handler
* net.httpclient_listener: util.httpstream now always expects to be called ↵Matthew Wild2011-09-031-1/+1
| | | | with nil data, so call even when the socket closed cleanly
* net.server_event: Don't call listener.onincoming with data=nil when ↵Waqas Hussain2011-09-031-1/+0
| | | | listener.onconnect is missing. onincoming's arguments shall always be non-nil.
* net.dns: Shorten AAAA recordsKim Alvefur2011-09-021-1/+12
|
* Merge with trunkMatthew Wild2011-08-311-1/+1
|\
| * net.httpclient_listener: Define t_insertMatthew Wild2011-08-311-1/+1
| |
* | net.http: Remove extra space after method in request status line for POST.Waqas Hussain2011-08-311-1/+1
|/
* net.http: Convert port to a number (for custom port in URL)Matthew Wild2011-08-221-1/+1
|
* net.http: Support for k->v maps in http.formencodeMatthew Wild2011-08-201-2/+8
|
* net.httpclient_listener: Fix to look for the request body in the right ↵Matthew Wild2011-08-201-2/+2
| | | | variable...
* net.server_select: Remove socket from sendlist before calling listener ↵Matthew Wild2011-08-201-1/+1
| | | | callbacks (thanks darkrain)
* net.http, httpclient_listener: Move request sending from net.http to ↵Matthew Wild2011-08-202-38/+43
| | | | onconnect() handler, and add support for HTTPS requests to net.http
* net.http: Whitespace fixesMatthew Wild2011-08-201-4/+8
|
* net.http: Small fix to prevent traceback when connection fails before ↵Matthew Wild2011-08-201-0/+1
| | | | sending the request
* net.server_select: Merge straight-SSL and starttls code paths, also fixes ↵Matthew Wild2011-08-201-69/+57
| | | | onconnect being called before handshake completion for straight-SSL
* net.server_select: Update error logging logic during SSL handshake (now ↵Matthew Wild2011-08-201-3/+3
| | | | shows correctly when a handshake exceeded max. allowed iterations)