Commit Graph

92 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Kim Alvefur c90918837e mod_c2s,mod_s2s: Make stanza size limits configurable 6 years ago
Kim Alvefur 5abc2e6a5c mod_c2s,mod_s2s: Make stanza size limits configurable 6 years ago
Kim Alvefur d22e85debc mod_c2s,mod_s2s: Use a distinct stream error for hitting stanza size limit 6 years ago
Kim Alvefur 0747cbea53 mod_c2s: Run stream open and close events in async thread, fixes #1103 6 years ago
Kim Alvefur a63e5be1b7 mod_c2s: Swap comments 6 years ago
Kim Alvefur 0fdb85997a mod_net_multiplex: Add support for using ALPN 6 years ago
Kim Alvefur e131bbd3a4 mod_c2s: Validate that a 'to' attribute exists at all 6 years ago
Kim Alvefur 4512a6266d mod_c2s: Associate connection with session last (fixes #1313) 7 years ago
Kim Alvefur b16782257d Remove COMPAT with temporary luasec fork 6 years ago
Kim Alvefur 40b1e3e0ed plugins: Remove tostring call from logging 7 years ago
Kim Alvefur 0f11cd3a54 mod_c2s: Fix fallback for missing session logger 7 years ago
Kim Alvefur 32b507c866 mod_c2s: Do not allow the stream 'to' to change across stream restarts (fixes #1147) 8 years ago
Kim Alvefur 0f78fff909 mod_c2s: Avoid concatenating potential nil value (fixes #753) 8 years ago
Kim Alvefur 12cdea49b3 mod_c2s: Iterate over child tags instead of child nodes in stream error (fixes traceback from #987) 8 years ago
Kim Alvefur b395681f11 mod_c2s: Set a default value for c2s_timeout (fixes #1036) 8 years ago
Kim Alvefur 73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 9 years ago
Emmanuel Gil Peyrot bf5d8303ce mod_c2s: Add a counter for IPv6. 8 years ago
Kim Alvefur a5612dad90 mod_c2s: Remove unused locals [luacheck] 9 years ago
Kim Alvefur 7e8dcd944e mod_c2s: Rename unused loop variable to _ [luacheck] 9 years ago
Kim Alvefur 71d437db39 mod_c2s: Rename variable no avoid name clash [luacheck] 9 years ago
Kim Alvefur befdc64576 mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8 9 years ago
Kim Alvefur bdeb5cc9c5 mod_c2s: Clarify that there were no *stream* features to offer 9 years ago
Kim Alvefur 522f448b35 mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate once per statistics interval 9 years ago
Kim Alvefur 8631e529ba mod_c2s: Don't try to keep alive sessions where the stream is not (yet) open 10 years ago
Kim Alvefur 0c9ea08015 mod_c2s: Fix whitespace (why does it keep getting messed up?) 10 years ago
Kim Alvefur ddccdcd00d mod_c2s, mod_s2s: Bootstrap connection count statistic on module load 10 years ago
Kim Alvefur 4308f867bb mod_c2s: Just destroy the session when it has no connection (see #641) 10 years ago
Kim Alvefur 13099c75ec mod_c2s: Remove use of util.async 10 years ago
Kim Alvefur 89a474d458 mod_c2s: Remove connection object from session object when connection disconnected to prevent accidental use (see #590) 10 years ago
Kim Alvefur 1875b4a83d mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that plugins hooking at the default priority run first (fixes #601) 10 years ago
Kim Alvefur 7dda205176 mod_c2s, mod_s2s: Close incoming connections if there are no features to offer on incomplete streams (fixes #285) 10 years ago
Kim Alvefur 48652fb9d3 mod_c2s, mod_s2s: Collect statistics on number of connections 11 years ago
Matthew Wild 899b6d53ae net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) 11 years ago
Matthew Wild 933bb5a869 mod_c2s, mod_s2s: Log received invalid stream headers 12 years ago
Kim Alvefur 57940a8351 mod_c2s: Fix traceback if c2s stream sent to component 12 years ago
Kim Alvefur e06966ee43 mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream 12 years ago
Florian Zeitz c5c7ef5b0f mod_c2s: Break out stream opening into a separate function 12 years ago
Kim Alvefur 5178a1e79f mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways mean encrypted (eg consider_bosh_secure) 12 years ago
Kim Alvefur 0c39eb02b9 mod_c2s: Move another log message to debug level 13 years ago
Kim Alvefur 938d568ac4 mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and (hopefully) less confusing way 13 years ago
Matthew Wild e0216573ab mod_c2s: Port coroutine code to util.async 13 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 5383602429 mod_c2s: Add session:sleep() and session:wake() to pause a session (e.g. while waiting for an external event). Needs a gallon or two of testing. 13 years ago
Kim Alvefur 0c6c0e9c29 mod_c2s, mod_s2s: Log a message that stream encryption has been enabled with some details 13 years ago
Kim Alvefur aa15ed7020 mod_c2s: Change default of tcp_keepalives to true, and make it individually configurable through c2s_tcp_keepalives 13 years ago
Matthew Wild cab180216b mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now) 13 years ago
Kim Alvefur 4c9866805e mod_c2s, mod_s2s: Fire an event on read timeouts 13 years ago
Kim Alvefur b6ecf01333 mod_c2s: Become a shared module and allow being disabled on some virtualhosts 13 years ago
Kim Alvefur 8d85647c37 mod_c2s, mod_c2s: Send a whitespace on read timeout, to prod TCP into detecting if the connection died 13 years ago
Kim Alvefur dd56030a23 mod_c2s: Fix session:close() when a stanza is passed as reason 13 years ago