aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Change xmlhandlers to match stream opening tag with ns+tagMatthew Wild2008-12-162-2/+2
|
* Protect loading of connlisteners, to catch errorsMatthew Wild2008-12-161-1/+2
|
* Make wraptcpclient set timeout to 0, and add it to the list of exported ↵Matthew Wild2008-12-131-0/+3
| | | | functions from server.lua
* Oops, don't call server.loop() because we'll be running inside the serverMatthew Wild2008-12-121-2/+1
|
* Pass HTTP request object to callbackMatthew Wild2008-12-121-5/+5
|
* HTTP request callbacks now: handler(code, content) (where code may be 0, and ↵Matthew Wild2008-12-121-5/+5
| | | | content an error message)
* Non-blocking HTTP requests (adding net.http)Matthew Wild2008-12-122-0/+209
|
* 0.1 -> 0.2Matthew Wild2008-12-104-24/+6
|
* Fix blank tracebacks for c2s/s2s connectionsMatthew Wild2008-12-102-2/+2
|
* stanza_dispatch != dispatch_stanzaMatthew Wild2008-12-072-2/+2
|
* Typo in variable name in last commitMatthew Wild2008-12-072-2/+2
|
* stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} ↵Matthew Wild2008-12-072-7/+2
| | | | listeners, and sessionmanager for the new syntax
* Code tidying for xmpp{client,server}_listenersMatthew Wild2008-12-062-32/+17
|
* Remove old commented code from server.luaMatthew Wild2008-12-061-4/+0
|
* Re-commit TLS fixMatthew Wild2008-12-051-1/+12
|
* MergeMatthew Wild2008-12-052-14/+3
|\
| * Backed out changeset 099d8a102deb (committed too much)Matthew Wild2008-12-052-13/+5
| |
* | Don't say we need TLS after we've already started the handshakeMatthew Wild2008-12-051-4/+1
|/
* Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵Matthew Wild2008-12-052-5/+13
| | | | TLS connections
* Comment out debug logging for nowMatthew Wild2008-12-051-3/+3
|
* Remove linger option on sockets, made no difference, and I forgot to remove ↵Matthew Wild2008-12-051-2/+0
| | | | it earlier
* Remove an incorrect line which I didn't add, and fix the proper way. ↵Matthew Wild2008-12-051-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 namespaceMatthew Wild2008-12-052-4/+28
|
* Abstract xmlhandlers a bit more, also add error callbacksMatthew Wild2008-12-042-6/+7
|
* Fix logger ids for c2s and s2soutMatthew Wild2008-12-041-1/+1
|
* Fix GPL'ing MIT/X licensed code :)Matthew Wild2008-12-031-860/+838
|
* Insert copyright/license headersMatthew Wild2008-12-035-0/+100
|
* Fix for loading connlisteners when running without CFG_SOURCEDIRMatthew Wild2008-11-291-1/+1
|
* Update Makefile to now pass config paths to prosody. Update prosody, ↵Matthew Wild2008-11-291-2/+3
| | | | modulemanager and connectionlisteners to obey these paths.
* Merge from waqasMatthew Wild2008-11-281-1/+2
|\
| * Quickfix for dns.lua to not crash on failed connection to name serversWaqas Hussain2008-11-281-1/+2
| |
* | No more reading 1 byte at a time from socketsMatthew Wild2008-11-282-2/+2
|/
* (Basic) IDNA and SRV fallback supportMatthew Wild2008-11-261-3/+8
|
* Fix a waqas copy/paste error. It was my fault again apparently.Matthew Wild2008-11-261-0/+1
|
* Wrapped a core_process_stanza call in an xpcall callWaqas Hussain2008-11-261-1/+1
|
* Added temporary fix for srv on windows: using opendns nameserversWaqas Hussain2008-11-231-5/+10
|
* Small fix for connlisteners to accept nil for userdataMatthew Wild2008-11-231-2/+2
|
* Fix various mistakes in dns.luaMatthew Wild2008-11-231-7/+7
|
* Fix dns for poor Windows users, who have never seen a resolv.confMatthew Wild2008-11-231-1/+3
|
* All the people who don't use TLS, this one's for you.Matthew Wild2008-11-221-1/+1
|
* Incorrect function set as callbackMatthew Wild2008-11-191-1/+2
|
* We have SRV resolving \o/Matthew Wild2008-11-181-0/+795
|
* Fix to prevent send retry when connection is already closedMatthew Wild2008-11-181-6/+9
|
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-182-4/+4
|
* Quite some changes, to:Matthew Wild2008-11-182-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 #8Matthew Wild2008-11-182-3/+34
|
* Allow us to close client connections, with or without a stream error. ↵Matthew Wild2008-11-181-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 socketMatthew Wild2008-11-181-1/+5
|
* Fix for putting TLS in stream:features for connections already using TLS. ↵Matthew Wild2008-11-161-0/+2
| | | | Thanks to albert for spotting.
* Fix logging in some cases for client disconnectsMatthew Wild2008-11-161-1/+1
|