aboutsummaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix logging of disconnect reason, and also sending of unavailable presence ↵Matthew Wild2008-11-151-3/+4
| | | | on disconnect
* Some bugs fixedWaqas Hussain2008-11-151-1/+1
|
* Actually show error and position when we show a traceback :)Matthew Wild2008-11-092-2/+2
|
* Committing code to get nicer tracebacks for errors, also we no longer ↵Matthew Wild2008-11-082-3/+13
| | | | consider such errors fatal (probably a bad thing, I know...)
* Backed out changeset 4adc53e03b4d (garbage collection)Matthew Wild2008-10-241-1/+1
|
* Extra garbage collection, for debuggingMatthew Wild2008-10-241-1/+1
|
* Clean up session when s2s connections are disconnectedMatthew Wild2008-10-241-0/+8
|
* s2s works! \o/ \o/Matthew Wild2008-10-242-1/+96
|
* dialback keys now verifiedMatthew Wild2008-10-241-1/+0
|
* Initial s2s stuffMatthew Wild2008-10-232-6/+12
|
* Fix for not destroying sessions when connection closed.Matthew Wild2008-10-231-0/+13
|
* Abstract connections with "connection listeners"Matthew Wild2008-10-223-16/+114
| | | | | | - Added connlistener for xmppclient - SASL/TLS now use a new session:reset_stream() method - main.lua on its way to being a bit neater
* server.lua should degrade gracefully when LuaSec not presentMatthew Wild2008-10-221-2/+2
|
* Remove debugging output from when doing TLSMatthew Wild2008-10-081-1/+0
|
* Working TLS!Matthew Wild2008-10-051-39/+46
|
* TLS: Handshake works, no data after thatMatthew Wild2008-10-051-5/+217
|
* Convert spaces->tabsMatthew Wild2008-10-051-476/+476
|
* SASL!Matthew Wild2008-10-021-0/+16
| | | | | (but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...) ((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
* Moved server module to net/Matthew Wild2008-08-251-0/+613
also added note on licensing of that module