aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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)
* 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
|