Matthew Wild
|
26cf54ee8b
|
net.dns: Support for parsing PTR records
|
15 years ago |
Matthew Wild
|
0f6754746c
|
net.dns: Add 'force' parameter to resolver:feed() to force decoding a packet even if it doesn't match an outstanding request
|
15 years ago |
Waqas Hussain
|
caf7431d14
|
net.xmppcomponent_listener: Fixed a possible traceback in component disconnect handling.
|
16 years ago |
Waqas Hussain
|
3b1c76fc92
|
net.xmppcomponent_listener: Specify missing log level for a log statement.
|
16 years ago |
Waqas Hussain
|
c6a1139e78
|
net.xmppcomponent_listener, mod_component: Removed useless undocumented option 'component_address'.
|
16 years ago |
Waqas Hussain
|
3da6413681
|
net.httpserver: Removed old HTTP parser, and updated to use util.httpstream.
|
16 years ago |
Matthew Wild
|
40fa07ecfc
|
net.server_select: Add server.step() to run through a single iteration of the event loop
|
16 years ago |
Matthew Wild
|
fc62af2024
|
net.httpserver: Join multiple headers with the same name as per RFC (thanks darkhippo)
|
16 years ago |
Matthew Wild
|
e724cea395
|
net.http: Add http.formencode() for www-form-urlencoded from an array of fields (thanks dersd)
|
16 years ago |
Matthew Wild
|
5ceda8f546
|
net.server: Don't load configmanager if not running inside Prosody, assume server_select
|
16 years ago |
Matthew Wild
|
c3d3544fb0
|
net.server_select, net.server_event: Remove set_mode() call from server.link()... it can cause the last chunk of data to be discarded if shorter than buffersize (thanks to Zash for the debugging)
|
16 years ago |
Matthew Wild
|
cec141b21c
|
net.xmppclient_listener: Add associate_session(conn, session) to change the session a connection is associated with
|
16 years ago |
Matthew Wild
|
cb3354e724
|
net.server_event: Remove some debug messages
|
16 years ago |
Matthew Wild
|
7ddf7d4745
|
net.server_select: Remove 'now' parameter from starttls(), and base it on whether the sendbuffer is empty instead
|
16 years ago |
Matthew Wild
|
a1eb7da955
|
net.server_event: Fix to not call onconnect a second time after the SSL handshake for starttls connections (thanks Flo)
|
16 years ago |
Matthew Wild
|
502172efce
|
net.server_event: Remove debug logging from dummy onstatus handler
|
16 years ago |
Matthew Wild
|
b0c03f83ce
|
net.server_select: Ensure that onconnect is called for server sockets as well as clients, rather than onincoming. Fixes mod_console traceback, issue #197
|
16 years ago |
Matthew Wild
|
1c51f969da
|
net.dns: Call :cancel() on the current resolver instead of the prototype
|
16 years ago |
Matthew Wild
|
91a3910031
|
xmpp{client,server}_listener: Convert some calls to tail calls for efficiency
|
16 years ago |
Matthew Wild
|
7486651769
|
xmppserver_listener: Fix variable names I forgot to change in the last commit
|
16 years ago |
Matthew Wild
|
ec41e71baa
|
xmpp{client,server}_listener: Put stanzas/in filtering code in the correct place to make it actually work :)
|
16 years ago |
Matthew Wild
|
90b0ef76c6
|
net.dns: Add dns.settimeout() to set the timeout for the default resolver
|
16 years ago |
Matthew Wild
|
d2b5e885a8
|
net.dns: Make timeout configurable (default 15s)
|
16 years ago |
Matthew Wild
|
cad77ed8cf
|
net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need to be created for each cancellation internal to net.dns
|
16 years ago |
Matthew Wild
|
e23e53d3b8
|
net.dns, net.adns: Move coroutine-calling logic into resolver:cancel()
|
16 years ago |
Matthew Wild
|
4b2249df84
|
net.dns: Handle our own timeouts, including falling onto other servers in resolv.conf if necessary
|
16 years ago |
Matthew Wild
|
1e6c27f398
|
xmppcomponent_listener: Add log messages for when stanzas from components have invalid or missing to/from addresses
|
16 years ago |
Matthew Wild
|
9ca26d127b
|
xmppcomponent_listener: Import jid_split to fix undefined global reference
|
16 years ago |
Waqas Hussain
|
b45ab38e21
|
xmppcomponent_listener: Don't validate to/from on non-stanzas, fixes component auth.
|
16 years ago |
Matthew Wild
|
afd2f3da8a
|
xmppcomponent_listener: Validate to/from on components, fixes #104 and #162
|
16 years ago |
Matthew Wild
|
e563e751d0
|
net.server_select: Clean up buffer and fire drained callback on successful 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)
|
16 years ago |
Matthew Wild
|
10f55df529
|
net.server_select: Fix a snippet of code that was living at the wrong indentation level
|
16 years ago |
Waqas Hussain
|
bbecbdc894
|
net.server_event: attemp to fix more spelling fail.
|
16 years ago |
Matthew Wild
|
3883d8dd07
|
net.server_event: Also return the socket from wrapclient, to maintain compatibility with server_select (thanks uhoreg)
|
16 years ago |
Matthew Wild
|
a1c37ed370
|
xmppserver_listener: Add filters for incoming bytes and stanzas
|
16 years ago |
Matthew Wild
|
e9448c71ce
|
xmppclient_listener: Add filters for incoming bytes and stanzas
|
16 years ago |
Matthew Wild
|
8b5f39bb76
|
xmppserver_listener: Port to util.xmppstream \o/
|
16 years ago |
Waqas Hussain
|
961f01d6e9
|
net.multiplex_listener: Test to make sure listener.onconnect isn't nil.
|
16 years ago |
Waqas Hussain
|
719111c90d
|
net.multiplex_listener: Call listener.onconnect(conn) when swapping listeners.
|
16 years ago |
Matthew Wild
|
5d840b3f53
|
xmppclient_listener: Port to onconnect handler
|
16 years ago |
Matthew Wild
|
f2b14d6d07
|
net.dns: Remove redundant locals declaration
|
16 years ago |
Matthew Wild
|
fd55f81b12
|
net.dns: Remove redundant locals declaration
|
16 years ago |
Matthew Wild
|
1107a66e72
|
net.dns: Fix dns.lookup from commit e54774bd73a7
|
16 years ago |
Matthew Wild
|
dbe5e5fc2b
|
net.dns: Fix dns.lookup from commit e54774bd73a7
|
16 years ago |
Matthew Wild
|
42d89c47c7
|
net.xmppclient_listener: Port to util.xmppstream \o/
|
16 years ago |
Waqas Hussain
|
41fe87d3c5
|
net.server_select: Remove some debugging code.
|
16 years ago |
Matthew Wild
|
c900263556
|
net.server_select: Fix typo affecting connections with an onconnect listener that have data pending in the sendbuffer
|
16 years ago |
Matthew Wild
|
a22e222865
|
net.server_select, net.server_event: Add server.link() to link 2 connections with an intermediate buffer of the specified size
|
16 years ago |
Matthew Wild
|
3c7eb58b08
|
net.server_select, net.server_event: Support for ondrain listener callback for when send buffer is empty
|
16 years ago |
Matthew Wild
|
242d67b43e
|
net.server_select, net.server_event: Rename :pattern() method to :set_mode() for select backend, and add :set_mode() to event backend
|
16 years ago |