Commit Graph

104 Commits (master)

Author SHA1 Message Date
Matthew Wild 9de5f1149b mod_smacks: Run session destruction code in session's async context 1 year ago
Kim Alvefur 19429a5e7d mod_smacks: Fix previous commit for case of no session found 1 year ago
Kim Alvefur fff5a91e37 mod_smacks: Prevent traceback on attempting to resume destroyed session 1 year ago
Kim Alvefur 2c61955e3a mod_smacks: Destroy timed out session in async context (fixes #1884) 1 year ago
Kim Alvefur 7be4e2fd31 mod_smacks: Adjust buckets for resumption age statistic 2 years ago
Kim Alvefur d840f27320 mod_smacks: Replace existing watchdog when starting hibernation 3 years ago
Kim Alvefur 3a3d9c6c2c mod_smacks: Fix stray watchdog closing sessions 3 years ago
Kim Alvefur 67b6440d9b mod_smacks: Log something when hibernation starts 3 years ago
Kim Alvefur d158455de6 mod_smacks: Disable resumption behavior on s2s 3 years ago
Kim Alvefur bfe2a924f8 mod_smacks: Fix #1761 by setting a flag earlier 4 years ago
Kim Alvefur d7e7558bae mod_smacks: Bounce unhandled stanzas from local origin (fix #1759) 4 years ago
Kim Alvefur 568aa79441 mod_smacks: Fix bounce of stanzas directed to full JID on unclean disconnect 4 years ago
Kim Alvefur 8027b67f19 mod_smacks: Fix to use current method of counting acked stanzas 4 years ago
Kim Alvefur 71ad48095d plugins: Use integer config API with interval specification where sensible 2 years ago
Kim Alvefur 1987a7411f plugins: Switch to :get_option_period() for time range options 2 years ago
Kim Alvefur 98922d54b1 plugins: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur 8bb22ccfed mod_smacks: Factor out resumption token table key generation 3 years ago
Kim Alvefur c916ce76ee mod_smacks: Only track resumable sessions 3 years ago
Matthew Wild 01e03f4837 mod_smacks: Change boolean attribute from '1' to 'true' for compatibility 3 years ago
Jonas Schäfer 865b6da69d Backed out changeset 1bc2220cd6ec 3 years ago
Matthew Wild 5f2c086da7 mod_smacks: Set session flag during successful enable 3 years ago
Matthew Wild a061b11f32 mod_smacks: Add type field to results so actions can be later distinguished 3 years ago
Matthew Wild 78a197c25d mod_smacks: Set session.smacks after sending <enabled/> to fix traceback 3 years ago
Matthew Wild 1254a0de55 mod_smacks: Use new :add_error() in last remaining error result construction 3 years ago
Matthew Wild 79ac7f6b74 mod_smacks: Split enable handling to stages, to allow easier SASL2 integration 3 years ago
Matthew Wild 6926340d75 mod_smacks: Split resumption into multiple stages, to simplify ISR integration 3 years ago
Matthew Wild 9c5aefe7e7 mod_smacks: Don't close resuming session when failed due to overflow 3 years ago
Matthew Wild 54fcc029c8 mod_smacks: Long overdue cleanup of resumption code, fixes some old TODOs 3 years ago
Kim Alvefur 553620127a mod_smacks: Indicate that bounces are generated by the server 4 years ago
Kim Alvefur ce636e5b33 mod_smacks: Remove debug log references to timer (not used anymore) 4 years ago
Kim Alvefur 1a87a2d40c mod_smacks: Use session logging for remaining log messages 4 years ago
Kim Alvefur a350ea4f1c mod_smacks: Factor out some convenience functions 4 years ago
Kim Alvefur 18baeca54a mod_smacks: Initialize queue before sending <enable> 4 years ago
Kim Alvefur 5db031e070 mod_smacks: Improve activation of smacks on outgoing s2s 4 years ago
Kim Alvefur a3a343b20e mod_smacks: Tweak resumption age buckets towards multiples of 60 4 years ago
Kim Alvefur 64c385c9f7 mod_smacks: Log error to silence luacheck 4 years ago
Kim Alvefur f017e61543 mod_smacks: Limit "old" session resumption counters 4 years ago
Kim Alvefur 88da8ef1a0 mod_smacks: Record timestamp with persisted counters 4 years ago
Jonas Schäfer f53f452e47 mod_smacks: sprinkle some metrics on it 4 years ago
Kim Alvefur ecab94165d mod_smacks: Compact code using new stanza API 4 years ago
Kim Alvefur 2f3b28380a mod_smacks: Use more compact resumption tokens 4 years ago
Kim Alvefur 86617ab008 mod_smacks: Add future todo 4 years ago
Kim Alvefur afb195c623 mod_smacks: Only include max resumption time when resumption is activated 4 years ago
Kim Alvefur 121ce4fda7 mod_smacks: Fix typos 4 years ago
Kim Alvefur 1a089b68ec mod_smacks: Fix error on shutdown if loaded on Component 4 years ago
Kim Alvefur 94af122279 mod_smacks: Fix typo (thanks codespell) 4 years ago
Kim Alvefur 884cfdcaaf mod_smacks: Avoid log noise when a non-smacks session is closed 4 years ago
Kim Alvefur af3aa001dc mod_smacks: Check if session was really sleeping before logging message 4 years ago
Kim Alvefur 549ee95de5 mod_smacks: Fix traceback when bouncing unacked stanzas 4 years ago
Kim Alvefur eb65a8b39a mod_smacks: Fix duplicate sleep behavior when replacing a session 4 years ago