Commit Graph

169 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Matthew Wild ad6a65efa1 stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild fb803e1408 s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful) 16 years ago
Matthew Wild 87ff54c752 s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) 16 years ago
Matthew Wild fee6a443f9 sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) 16 years ago
Matthew Wild a76e149c1c sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session 16 years ago
Waqas Hussain 1445574fd3 s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency. 16 years ago
Matthew Wild 9f2b093567 s2smanager: Update for new server SSL API (don't pass a sslctx) 16 years ago
Matthew Wild 5586351c7e s2smanager: Fix syntax error) 16 years ago
Matthew Wild 5ca850a51c s2smanager: require_s2s_encryption -> s2s_require_encryption 16 years ago
Matthew Wild 4a7e2575df s2smanager: Make require_s2s_encryption do what it says on the tin 16 years ago
Matthew Wild 74ceb83cca s2smanager: Whitespace 16 years ago
Matthew Wild 952317223d s2smanager: Log error and fail gracefully if we can't open a socket for an outgoing s2s connection (thanks foucault) 16 years ago
Matthew Wild c29137a1b1 s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :) 16 years ago
Matthew Wild 0b4f0121a1 s2smanager: Fix syntax error) 16 years ago
Matthew Wild 54f4000c5a s2smanager: require_s2s_encryption -> s2s_require_encryption 16 years ago
Matthew Wild d169b18350 s2smanager: Make require_s2s_encryption do what it says on the tin 16 years ago
Matthew Wild 0d8ce51b78 s2smanager: Split sending of stream header into a :open_stream() method 16 years ago
Matthew Wild 801cc75c57 s2smanager: Allow new_outgoing() to create sessions without automatically connecting them (set 3rd parameters to false) 16 years ago
Paul Aurich 92b2d54b4b s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. 16 years ago
Paul Aurich b67695c401 s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. 16 years ago
Matthew Wild 4b75f2857c s2smanager, hostmanager: Make dialback secrets per-host 16 years ago
Matthew Wild cddb59f542 s2smanager: Trim trailing whitespace 16 years ago
Matthew Wild 6fc597e709 sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) 16 years ago
Matthew Wild 03734de797 s2smanager: Don't re-destroy destroyed sessions 16 years ago
Matthew Wild 82d5e5fd0c s2smanager: Add open_stream and close methods to resting sessions 16 years ago
Matthew Wild 8e4f70c4a2 sessionmanager, s2smanager: Close session on </stream:stream> 16 years ago
Matthew Wild 7b445486a0 sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks 16 years ago
Matthew Wild f713f78045 s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault) 16 years ago
Matthew Wild 1ac7b7a3b7 s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain) 16 years ago
Matthew Wild 9c1222b34e s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) 16 years ago
Matthew Wild 5226f7e43a s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails 16 years ago
Matthew Wild 90a4059638 s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails 16 years ago
Matthew Wild 8c41e63005 s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) ) 16 years ago
Matthew Wild 6aaad6c768 Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :) 16 years ago
Matthew Wild 851ac94df2 s2smanager: More whitespace 16 years ago
Matthew Wild f81d945625 s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server) 16 years ago
Matthew Wild 8f271c3a7e s2smanager: Whitespace 16 years ago
Matthew Wild e394e2f222 s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas 16 years ago
Matthew Wild a50ea05d63 s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) ) 16 years ago
Matthew Wild 07bddf1ea6 s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas 16 years ago
Matthew Wild fb4bbe19bf s2smanager: Allow configuration of the dialback_secret in the config 16 years ago
Matthew Wild c4742ed781 s2smanager: Log warning when trying to send a stanza from a host we don't serve, instead of a traceback (thanks stpeter) 16 years ago
Matthew Wild a1efb7e142 s2smanager: Fix syntax error introduced in merge 16 years ago
Matthew Wild 8da42f8d71 s2smanager: Update for new net.server API (s2s still doesn't work with libevent for other reasons) 16 years ago
Matthew Wild c3ed7fbfce s2smanager: Don't log full stanza when sending outwards 16 years ago
Matthew Wild cd82ebe27d s2smanager: Don't tostring() the data before sending, sends2s already does this. 16 years ago
Matthew Wild 38dc47caae s2smanager: Don't tostring() the data before sending, sends2s already does this. 16 years ago
Matthew Wild 4a592b5069 sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) 16 years ago
Matthew Wild 2739ed3948 sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session 16 years ago