aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|\
| * net.server_select: Clean up buffer and fire drained callback on successful ↵Matthew Wild2010-07-021-1/+1
| | | | | | | | write before we try and start TLS negotiation (if negotiation fails instantly then we can be left without a handler to use for cleanup) (thanks dersd)
| * net.server_select: Fix a snippet of code that was living at the wrong ↵Matthew Wild2010-07-021-3/+3
| | | | | | | | indentation level
* | Merge 0.7->trunkMatthew Wild2010-06-121-9/+9
|\|
| * net.server_event: attemp to fix more spelling fail.Waqas Hussain2010-06-111-9/+9
| |
* | Merge 0.7->trunkMatthew Wild2010-06-021-1/+1
|\|
| * net.server_event: Also return the socket from wrapclient, to maintain ↵Matthew Wild2010-06-021-1/+1
| | | | | | | | compatibility with server_select (thanks uhoreg)
| * net.dns: Remove redundant locals declarationMatthew Wild2010-05-201-1/+0
| |
| * net.dns: Fix dns.lookup from commit e54774bd73a7Matthew Wild2010-05-201-1/+1
| |
* | xmppserver_listener: Add filters for incoming bytes and stanzasMatthew Wild2010-06-021-6/+16
| |
* | xmppclient_listener: Add filters for incoming bytes and stanzasMatthew Wild2010-06-021-5/+15
| |
* | xmppserver_listener: Port to util.xmppstream \o/Matthew Wild2010-06-021-40/+36
| |