aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | net.multiplex_listener: Test to make sure listener.onconnect isn't nil.Waqas Hussain2010-06-021-1/+4
| |
* | net.multiplex_listener: Call listener.onconnect(conn) when swapping listeners.Waqas Hussain2010-06-021-0/+1
| |
* | xmppclient_listener: Port to onconnect handlerMatthew Wild2010-06-021-37/+38
| |
* | net.dns: Remove redundant locals declarationMatthew Wild2010-05-201-1/+0
| |
* | net.dns: Fix dns.lookup from commit e54774bd73a7Matthew Wild2010-05-201-1/+1
| |
* | Merge 0.7->trunkMatthew Wild2010-05-181-1/+8
|\|
| * net/dns: Fix socket.select timeout.Brian Cully2009-12-281-1/+8
| |
* | Merge 0.7->trunkMatthew Wild2010-05-181-1/+1
|\|
| * Merge 0.6->0.7Matthew Wild2010-05-181-1/+1
| |\
| | * net/httpserver_listener: Ignore empty strings on incoming data.Brian Cully2010-04-281-1/+1
| | |
* | | net.xmppclient_listener: Port to util.xmppstream \o/Matthew Wild2010-05-091-21/+18
| | |
* | | net.server_select: Remove some debugging code.Waqas Hussain2010-05-061-3/+0
| | |
* | | Merge 0.7->trunkMatthew Wild2010-05-051-1/+1
|\| |
| * | net.server_select: Fix typo affecting connections with an onconnect listener ↵Matthew Wild2010-05-051-1/+1
| | | | | | | | | | | | that have data pending in the sendbuffer
* | | Merge 0.7->trunkMatthew Wild2010-05-052-4/+83
|\| |
| * | net.server_select, net.server_event: Add server.link() to link 2 connections ↵Matthew Wild2010-05-052-0/+44
| | | | | | | | | | | | with an intermediate buffer of the specified size
| * | net.server_select, net.server_event: Support for ondrain listener callback ↵Matthew Wild2010-05-052-1/+9
| | | | | | | | | | | | for when send buffer is empty
| * | net.server_select, net.server_event: Rename :pattern() method to :set_mode() ↵Matthew Wild2010-05-052-2/+9
| | | | | | | | | | | | for select backend, and add :set_mode() to event backend
| * | net.server_select, net.server_event: Support for :pause() and :resume() on ↵Matthew Wild2010-05-052-1/+21
| | | | | | | | | | | | connections
* | | Merge Tobias's fancy SASL branch->trunkMatthew Wild2010-05-051-0/+3
|\ \ \ | |/ / |/| |
| * | Merge with tip.Tobias Markmann2010-03-123-14/+19
| |\ \
| * | | util.sasl: 2009 -> 2010 in copyright header.Tobias Markmann2010-03-121-0/+3
| | | |
* | | | net.server_event: Be sure to fire onincoming for backwards-compatibility ↵Matthew Wild2010-05-051-1/+2
| | | | | | | | | | | | | | | | with pre-onconnect listeners (thanks darkrain/mod_console)
* | | | net.server_event: Call listener.onconnect if it exists, otherwise stick to ↵Matthew Wild2010-04-111-2/+2
| | | | | | | | | | | | | | | | listener.onincoming
* | | | net.server_select: Support for listener.onconnectMatthew Wild2010-04-111-1/+10
| | | |
* | | | Merge 0.6->0.7Matthew Wild2010-04-091-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | net.server: Fix logic error causing traceback when receiving a non-number portMatthew Wild2010-04-091-1/+1
| | | |