aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* net.server_select: Small fix to SSL handshake logic, read/wrote were being ↵Matthew Wild2011-08-201-4/+3
| | | | checked despite it not being possible for them to be other than nil
* net.server_select: Do not set 'ssl' flag simply when assigning an sslctx to ↵Matthew Wild2011-08-201-1/+0
| | | | a handler, it doesn't mean anything
* net.http: Add formdecode to decode an urlencoded formMatthew Wild2011-08-101-0/+13
|
* connlistener, server_select, prosody: Add support for binding to multiple ↵Florian Zeitz2011-06-152-15/+25
| | | | addresses
* net.dns: Support for resolving AAAA recordsMatthew Wild2011-05-161-0/+8
|
* net.dns: Fix TXT recordsKim Alvefur2011-04-151-1/+1
|
* Merge 0.8->trunkMatthew Wild2011-04-051-1/+0
|\
| * net.httpserver: Revert commit eccd3c87d717 which has since been fixed in a ↵Matthew Wild2011-03-211-1/+0
| | | | | | | | better way
* | Merge 0.8->trunk.Waqas Hussain2011-03-021-3/+5
|\|
| * net.connlisteners: Log traceback on errors in listener loading.Waqas Hussain2011-03-021-3/+5
| |
| * net.httpserver: Removed an unused function.Waqas Hussain2011-02-231-4/+0
| |
| * net.httpserver: Fix HTTP after commit c299726d2b4e and add a 500 error ↵Matthew Wild2011-02-231-3/+13
| | | | | | | | response if a request handler fails to make a response to the client
| * net.httpserver: Catch errors thrown in HTTP handlers.Waqas Hussain2011-02-231-0/+8
| |
* | net.httpserver: Removed an unused function.Waqas Hussain2011-02-231-4/+0
| |
* | net.httpserver: Fix HTTP after commit c299726d2b4e and add a 500 error ↵Matthew Wild2011-02-231-3/+13
| | | | | | | | response if a request handler fails to make a response to the client
* | net.httpserver: Catch errors thrown in HTTP handlers.Waqas Hussain2011-02-231-0/+8
| |
* | net.server_select: Expose step() function (thanks Łukasz)Matthew Wild2011-02-141-0/+1
|/
* net.httpserver: Log when an error occurs inside a HTTP request handlerMatthew Wild2011-02-131-0/+1
|
* net.dns: Fix tostring() for SRV recordsMatthew Wild2011-01-211-10/+7
|
* net.server_select, net.server_event: Silence 'error during ssl handshake' ↵Matthew Wild2011-01-112-2/+2
| | | | for wantread and wantwrite
* net.adns: Fix logging to handle unconnected UDP socketsMatthew Wild2011-01-081-1/+2
|
* net.server_event: Log interface and port number when binding failsMatthew Wild2011-01-061-1/+1
|
* net.httpserver: Removed unused import and variables.Waqas Hussain2011-01-051-2/+0
|
* net.httpserver: Changed an unnecessary global access.Waqas Hussain2011-01-051-1/+1
|
* net.httpserver: Decode percent-encoded characters in URL path.Waqas Hussain2011-01-051-0/+1
|
* net.adns: Log the DNS server that a query is sent toMatthew Wild2011-01-041-1/+4
|
* net.adns: Handle dns.query() failures, and pass error to handlerMatthew Wild2010-12-241-4/+11
|
* net.dns: resolver:query(): Handle getsocket() failures, and return true on ↵Matthew Wild2010-12-241-7/+12
| | | | success
* net.dns: resolver:getsocket(): Return nil, err on failureMatthew Wild2010-12-241-1/+5
|
* net/server_select.lua: Reduce select() timeout back to 1sMatthew Wild2010-12-181-1/+1
|
* net.httpserver: Default 'ports' = {5280}Matthew Wild2010-12-171-0/+1
|
* net.xmppclient_listener: Imports and global cleanup.Waqas Hussain2010-12-151-8/+5
|
* net.xmppserver_listener: Removed unnecessary import of lxp.Waqas Hussain2010-12-151-1/+0
|
* net.xmppserver_listener: Removed unused variables and imports.Waqas Hussain2010-12-151-11/+2
|