aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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: 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
|
* net.xmppserver_listener: Made some globals local.Waqas Hussain2010-12-151-3/+8
|
* net.xmppcomponent_listener: Move session creation from listener.onincoming ↵Waqas Hussain2010-12-151-36/+32
| | | | to listener.onconnect.
* net.xmppcomponent_listener: Made some globals local.Waqas Hussain2010-12-151-0/+3
|
* net.dns: Clean up tostring() of returned records, as a result PTR records ↵Matthew Wild2010-12-141-22/+17
| | | | can now be tostring()'d
* net.dns: Add resolver:tohostname() and dns.tohostname()Matthew Wild2010-12-141-0/+7
|
* net.dns: Removed dependency on util.ztact by moving ztact.get/set in.Waqas Hussain2010-12-091-5/+43
|
* xmppcomponent_listener: Switch to util.xmppstream from xmlhandlersMatthew Wild2010-12-071-5/+10
|
* net.server_select: Set select() timeout to 3600 by default.Waqas Hussain2010-12-021-1/+1
|
* net.server_select: Made another global local.Waqas Hussain2010-12-021-0/+1
|
* net.server_select: Made some globals local.Waqas Hussain2010-12-021-0/+3
|
* net.server_select: Make changes required for sub-second timer precision.Waqas Hussain2010-12-021-7/+14
|
* net.server_event: API parity with net.server_socketPaul Aurich2010-11-211-0/+4
|
* net.xmpp{client,server,component}_listener: ↵Waqas Hussain2010-11-203-6/+6
| | | | s/xml-not-well-formed/not-well-formed/ as per latest bis drafts.
* prosody: Removed all references to componentmanager from Prosody, except the ↵Waqas Hussain2010-11-101-2/+0
| | | | main componentmanager file.
* net.xmppcomponent_listener: Removed unnecessary and problematic cleanup code.Waqas Hussain2010-11-101-6/+1
|
* net.xmppcomponent_listener: Call session:on_destroy() on session disconnect.Waqas Hussain2010-11-091-0/+1
|
* net.http: Removed old HTTP parser, and updated to use util.httpstream.Waqas Hussain2010-11-061-91/+14
|
* net.dns: Fixed a traceback when util/windows.dll is unavailable on windows.Waqas Hussain2010-10-221-1/+1
|
* net.server_select: Restore real sendbuffer() before calling onconnect ↵Matthew Wild2010-10-221-1/+1
| | | | handler, in case onconnect sends data and the socket is still writeable (causing stack overflow into sendbuffer()/onconnect())
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-165-21/+21
|
* net.dns: Support for parsing PTR recordsMatthew Wild2010-10-061-0/+3
|
* net.dns: Add 'force' parameter to resolver:feed() to force decoding a packet ↵Matthew Wild2010-10-051-2/+2
| | | | even if it doesn't match an outstanding request
* net.xmppcomponent_listener: Fixed a possible traceback in component ↵Waqas Hussain2010-09-211-1/+1
| | | | disconnect handling.
* net.xmppcomponent_listener: Specify missing log level for a log statement.Waqas Hussain2010-09-211-1/+1
|
* net.xmppcomponent_listener, mod_component: Removed useless undocumented ↵Waqas Hussain2010-09-211-4/+1
| | | | option 'component_address'.
* net.httpserver: Removed old HTTP parser, and updated to use util.httpstream.Waqas Hussain2010-09-171-89/+11
|
* net.server_select: Add server.step() to run through a single iteration of ↵Matthew Wild2010-09-091-6/+12
| | | | the event loop
* net.httpserver: Join multiple headers with the same name as per RFC (thanks ↵Matthew Wild2010-08-281-1/+6
| | | | darkhippo)
* net.http: Add http.formencode() for www-form-urlencoded from an array of ↵Matthew Wild2010-08-271-2/+20
| | | | fields (thanks dersd)
* net.server: Don't load configmanager if not running inside Prosody, assume ↵Matthew Wild2010-08-231-1/+1
| | | | server_select
* net.server_select, net.server_event: Remove set_mode() call from ↵Matthew Wild2010-08-222-2/+0
| | | | server.link()... it can cause the last chunk of data to be discarded if shorter than buffersize (thanks to Zash for the debugging)