aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* net.xmppclient_listener: Add associate_session(conn, session) to change the ↵Matthew Wild2010-08-021-0/+4
| | | | session a connection is associated with
* net.server_event: Remove some debug messagesMatthew Wild2010-08-021-3/+0
|
* net.server_select: Remove 'now' parameter from starttls(), and base it on ↵Matthew Wild2010-07-221-4/+4
| | | | whether the sendbuffer is empty instead
* net.server_event: Fix to not call onconnect a second time after the SSL ↵Matthew Wild2010-07-221-17/+19
| | | | handshake for starttls connections (thanks Flo)
* net.server_event: Remove debug logging from dummy onstatus handlerMatthew Wild2010-07-171-1/+0
|
* net.server_select: Ensure that onconnect is called for server sockets as ↵Matthew Wild2010-07-161-11/+13
| | | | well as clients, rather than onincoming. Fixes mod_console traceback, issue #197
* net.dns: Call :cancel() on the current resolver instead of the prototypeMatthew Wild2010-07-141-1/+1
|
* xmpp{client,server}_listener: Convert some calls to tail calls for efficiencyMatthew Wild2010-07-092-2/+2
|
* xmppserver_listener: Fix variable names I forgot to change in the last commitMatthew Wild2010-07-081-1/+1
|
* xmpp{client,server}_listener: Put stanzas/in filtering code in the correct ↵Matthew Wild2010-07-082-14/+14
| | | | place to make it actually work :)
* net.dns: Add dns.settimeout() to set the timeout for the default resolverMatthew Wild2010-07-051-0/+4
|
* net.dns: Make timeout configurable (default 15s)Matthew Wild2010-07-051-4/+9
|
* net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need ↵Matthew Wild2010-07-052-6/+6
| | | | to be created for each cancellation internal to net.dns
* net.dns, net.adns: Move coroutine-calling logic into resolver:cancel()Matthew Wild2010-07-052-6/+6
|
* net.dns: Handle our own timeouts, including falling onto other servers in ↵Matthew Wild2010-07-051-1/+25
| | | | resolv.conf if necessary
* xmppcomponent_listener: Add log messages for when stanzas from components ↵Matthew Wild2010-07-041-0/+2
| | | | have invalid or missing to/from addresses
* xmppcomponent_listener: Import jid_split to fix undefined global referenceMatthew Wild2010-07-041-0/+1
|
* xmppcomponent_listener: Don't validate to/from on non-stanzas, fixes ↵Waqas Hussain2010-07-031-18/+20
| | | | component auth.
* xmppcomponent_listener: Validate to/from on components, fixes #104 and #162Matthew Wild2010-07-031-0/+21
|
* Merge 0.7->trunkMatthew Wild2010-07-021-4/+4
|\