Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fixed URL encoding to generate %0x instead of %x | Waqas Hussain | 2008-12-16 | 1 | -1/+1 | |
| | | ||||||
* | | Change xmlhandlers to match stream opening tag with ns+tag | Matthew Wild | 2008-12-16 | 2 | -2/+2 | |
| | | ||||||
* | | Protect loading of connlisteners, to catch errors | Matthew Wild | 2008-12-16 | 1 | -1/+2 | |
|/ | ||||||
* | Make wraptcpclient set timeout to 0, and add it to the list of exported ↵ | Matthew Wild | 2008-12-13 | 1 | -0/+3 | |
| | | | | functions from server.lua | |||||
* | Oops, don't call server.loop() because we'll be running inside the server | Matthew Wild | 2008-12-12 | 1 | -2/+1 | |
| | ||||||
* | Pass HTTP request object to callback | Matthew Wild | 2008-12-12 | 1 | -5/+5 | |
| | ||||||
* | HTTP request callbacks now: handler(code, content) (where code may be 0, and ↵ | Matthew Wild | 2008-12-12 | 1 | -5/+5 | |
| | | | | content an error message) | |||||
* | Non-blocking HTTP requests (adding net.http) | Matthew Wild | 2008-12-12 | 2 | -0/+209 | |
| | ||||||
* | 0.1 -> 0.2 | Matthew Wild | 2008-12-10 | 4 | -24/+6 | |
| | ||||||
* | Fix blank tracebacks for c2s/s2s connections | Matthew Wild | 2008-12-10 | 2 | -2/+2 | |
| | ||||||
* | stanza_dispatch != dispatch_stanza | Matthew Wild | 2008-12-07 | 2 | -2/+2 | |
| | ||||||
* | Typo in variable name in last commit | Matthew Wild | 2008-12-07 | 2 | -2/+2 | |
| | ||||||
* | stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} ↵ | Matthew Wild | 2008-12-07 | 2 | -7/+2 | |
| | | | | listeners, and sessionmanager for the new syntax | |||||
* | Code tidying for xmpp{client,server}_listeners | Matthew Wild | 2008-12-06 | 2 | -32/+17 | |
| | ||||||
* | Remove old commented code from server.lua | Matthew Wild | 2008-12-06 | 1 | -4/+0 | |
| | ||||||
* | Re-commit TLS fix | Matthew Wild | 2008-12-05 | 1 | -1/+12 | |
| | ||||||
* | Merge | Matthew Wild | 2008-12-05 | 2 | -14/+3 | |
|\ | ||||||
| * | Backed out changeset 099d8a102deb (committed too much) | Matthew Wild | 2008-12-05 | 2 | -13/+5 | |
| | | ||||||
* | | Don't say we need TLS after we've already started the handshake | Matthew Wild | 2008-12-05 | 1 | -4/+1 | |
|/ | ||||||
* | Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵ | Matthew Wild | 2008-12-05 | 2 | -5/+13 | |
| | | | | TLS connections | |||||
* | Comment out debug logging for now | Matthew Wild | 2008-12-05 | 1 | -3/+3 | |
| | ||||||
* | Remove linger option on sockets, made no difference, and I forgot to remove ↵ | Matthew Wild | 2008-12-05 | 1 | -2/+0 | |
| | | | | it earlier | |||||
* | Remove an incorrect line which I didn't add, and fix the proper way. ↵ | Matthew Wild | 2008-12-05 | 1 | -0/+5 | |
| | | | | Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings. | |||||
* | Disconnect with stream errors on bad XML, or invalid stream namespace | Matthew Wild | 2008-12-05 | 2 | -4/+28 | |
| | ||||||
* | Abstract xmlhandlers a bit more, also add error callbacks | Matthew Wild | 2008-12-04 | 2 | -6/+7 | |
| | ||||||
* | Fix logger ids for c2s and s2sout | Matthew Wild | 2008-12-04 | 1 | -1/+1 | |
| | ||||||
* | Fix GPL'ing MIT/X licensed code :) | Matthew Wild | 2008-12-03 | 1 | -860/+838 | |
| | ||||||
* | Insert copyright/license headers | Matthew Wild | 2008-12-03 | 5 | -0/+100 | |
| | ||||||
* | Fix for loading connlisteners when running without CFG_SOURCEDIR | Matthew Wild | 2008-11-29 | 1 | -1/+1 | |
| | ||||||
* | Update Makefile to now pass config paths to prosody. Update prosody, ↵ | Matthew Wild | 2008-11-29 | 1 | -2/+3 | |
| | | | | modulemanager and connectionlisteners to obey these paths. | |||||
* | Merge from waqas | Matthew Wild | 2008-11-28 | 1 | -1/+2 | |
|\ | ||||||
| * | Quickfix for dns.lua to not crash on failed connection to name servers | Waqas Hussain | 2008-11-28 | 1 | -1/+2 | |
| | | ||||||
* | | No more reading 1 byte at a time from sockets | Matthew Wild | 2008-11-28 | 2 | -2/+2 | |
|/ | ||||||
* | (Basic) IDNA and SRV fallback support | Matthew Wild | 2008-11-26 | 1 | -3/+8 | |
| | ||||||
* | Fix a waqas copy/paste error. It was my fault again apparently. | Matthew Wild | 2008-11-26 | 1 | -0/+1 | |
| | ||||||
* | Wrapped a core_process_stanza call in an xpcall call | Waqas Hussain | 2008-11-26 | 1 | -1/+1 | |
| | ||||||
* | Added temporary fix for srv on windows: using opendns nameservers | Waqas Hussain | 2008-11-23 | 1 | -5/+10 | |
| | ||||||
* | Small fix for connlisteners to accept nil for userdata | Matthew Wild | 2008-11-23 | 1 | -2/+2 | |
| | ||||||
* | Fix various mistakes in dns.lua | Matthew Wild | 2008-11-23 | 1 | -7/+7 | |
| | ||||||
* | Fix dns for poor Windows users, who have never seen a resolv.conf | Matthew Wild | 2008-11-23 | 1 | -1/+3 | |
| | ||||||
* | All the people who don't use TLS, this one's for you. | Matthew Wild | 2008-11-22 | 1 | -1/+1 | |
| | ||||||
* | Incorrect function set as callback | Matthew Wild | 2008-11-19 | 1 | -1/+2 | |
| | ||||||
* | We have SRV resolving \o/ | Matthew Wild | 2008-11-18 | 1 | -0/+795 | |
| | ||||||
* | Fix to prevent send retry when connection is already closed | Matthew Wild | 2008-11-18 | 1 | -6/+9 | |
| | ||||||
* | session:disconnect() -> session:close() for consistency with other Lua APIs | Matthew Wild | 2008-11-18 | 2 | -4/+4 | |
| | ||||||
* | Quite some changes, to: | Matthew Wild | 2008-11-18 | 2 | -16/+13 | |
| | | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection | |||||
* | s2s sessions can now be disconnected, with or without a stream error. Fixes #8 | Matthew Wild | 2008-11-18 | 2 | -3/+34 | |
| | ||||||
* | Allow us to close client connections, with or without a stream error. ↵ | Matthew Wild | 2008-11-18 | 1 | -0/+34 | |
| | | | | Partially fixes #8, we still need the same for s2s (though it should be almost a straight copy of the code, I'm too tired atm) | |||||
* | Flush write queue before closing socket | Matthew Wild | 2008-11-18 | 1 | -1/+5 | |
| | ||||||
* | Fix for putting TLS in stream:features for connections already using TLS. ↵ | Matthew Wild | 2008-11-16 | 1 | -0/+2 | |
| | | | | Thanks to albert for spotting. |