Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default ↵ | Matthew Wild | 2021-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | stanza size limits c2s/bosh/ws streams will default to 256KB, s2s and components to 512KB. These values are aligned with ejabberd's default settings, which should reduce issues related to inconsistent size limits between servers on the XMPP network. The previous default (10MB) is excessive for any production server, and allows significant memory usage by even unauthenticated sessions. | ||||
* | mod_s2s: Fix copypaste mistake in b3ae48362f78 | Kim Alvefur | 2020-12-16 | 1 | -1/+1 |
| | | | | | Directly sending something over s2s needs to use sends2s() but the code copied from mod_c2s had .send() | ||||
* | mod_s2s: Prevent whitespace keepalives the stream has been opened | Kim Alvefur | 2020-12-10 | 1 | -1/+4 |
| | | | | | | | | | This will result in the stream timing out instead, which is probably correct if the stream has not been opened yet. This was already done for c2s in e69df8093387 Thanks Ge0rG | ||||
* | mod_c2s,mod_s2s: Make stanza size limits configurable0.11.7 | Kim Alvefur | 2020-05-31 | 1 | -1/+2 |
| | |||||
* | mod_s2s: Escape invalid XML in loggin (same way as mod_c2s) fix #15740.11.6 | Kim Alvefur | 2020-08-01 | 1 | -2/+1 |
| | |||||
* | mod_s2s: Indicate origin of s2s error | Kim Alvefur | 2018-10-08 | 1 | -1/+1 |
| | |||||
* | mod_s2s: Fix previous commit | Kim Alvefur | 2018-09-30 | 1 | -1/+1 |
| | |||||
* | mod_s2s: Silence luacheck warnings in s2sout module | Kim Alvefur | 2018-09-30 | 1 | -1/+3 |
| | |||||
* | mod_s2s: Silence all warnings instead of ignoring the entire module | Kim Alvefur | 2018-09-30 | 1 | -6/+13 |
| | |||||
* | sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵ | Kim Alvefur | 2018-07-24 | 1 | -1/+1 |
| | | | | that for incoming | ||||
* | mod_s2s: Reduce logging (#776) | Kim Alvefur | 2018-07-22 | 1 | -2/+0 |
| | |||||
* | Merge 0.10->trunk | Kim Alvefur | 2018-06-22 | 1 | -0/+3 |
|\ | |||||
| * | mod_s2s: Close sockets held by resolver (#1170) | Kim Alvefur | 2018-06-17 | 1 | -0/+3 |
| | | |||||
* | | mod_s2s: Use session logger to ease debugging | Kim Alvefur | 2018-06-14 | 1 | -1/+6 |
| | | |||||
* | | mod_s2s: Log a message before trying the next SRV record | Kim Alvefur | 2018-06-14 | 1 | -0/+1 |
| | | | | | | | | This was the only spot where it did `ip_hosts = nil` without logging | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
|\| | |||||
| * | mod_s2s: Fix DNS timeout setting for per-session resolvers (fixes #1167) | Kim Alvefur | 2018-06-09 | 1 | -1/+1 |
| | | |||||
* | | mod_s2s: Add setting for overriding DNS resolvers (and avoid reading ↵ | Kim Alvefur | 2018-06-03 | 1 | -0/+6 |
| | | | | | | | | /etc/resolv.conf every time) | ||||
* | | mod_s2s: Add a counter for IPv6. | Emmanuel Gil Peyrot | 2017-09-09 | 1 | -1/+7 |
| | | |||||
* | | mod_s2s: Don't use string concatenation when passing values to logging | Kim Alvefur | 2018-02-25 | 1 | -1/+1 |
| | | |||||
* | | mod_s2s: Remove tostring() in logging since this is handled by util.format now | Kim Alvefur | 2017-12-21 | 2 | -11/+11 |
| | | |||||
* | | mod_s2s: Restructure some code | Kim Alvefur | 2017-12-05 | 1 | -2/+9 |
| | | |||||
* | | mod_s2s: Remove unused argument [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | |||||
* | | mod_s2s: Remove unused local [luacheck] | Kim Alvefur | 2017-12-05 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2017-09-26 | 2 | -5/+7 |
|\| | |||||
| * | mod_s2s: Use a separate resolver object for each outgoing session | Matthew Wild | 2017-09-25 | 2 | -5/+7 |
| | | | | | | | | | | | | | | | | Cleaner approach hopefully fixes problems with some peoples' DNS hanging after a while, failed DNS when a large number of queries are made at once, and source port re-use. Related issues: #487, 761, #991, #992, #1001 | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-09-14 | 1 | -10/+8 |
|\| | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2017-09-14 | 1 | -10/+8 |
| |\ | |||||
| | * | mod_component, mod_s2s: Iterate over child tags instead of child nodes (can ↵ | Kim Alvefur | 2017-09-14 | 1 | -10/+8 |
| | | | | | | | | | | | | include text) in stream error (same as 176b7f4e4ac9) | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-01-26 | 1 | -4/+2 |
|\| | | |||||
| * | | mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8 | Kim Alvefur | 2017-01-25 | 1 | -2/+0 |
| | | | |||||
| * | | mod_s2s: Clarify that it is stream features that can't be offered (here too) | Kim Alvefur | 2017-01-25 | 1 | -2/+2 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-10-07 | 2 | -1/+5 |
|\| | | |||||
| * | | mod_s2s: Log error message from DNS lookup | Kim Alvefur | 2016-10-04 | 1 | -0/+4 |
| | | | |||||
| * | | Merge 0.9->0.10 | Kim Alvefur | 2016-09-28 | 1 | -1/+1 |
| |\| | |||||
| | * | mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered ↵0.9.11 | Matthew Wild | 2016-09-27 | 1 | -1/+1 |
| | | | | | | | | | | | | protocol issues | ||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-09-12 | 1 | -10/+3 |
|\| | | |||||
| * | | mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate ↵ | Kim Alvefur | 2016-09-12 | 1 | -10/+3 |
| | | | | | | | | | | | | once per statistics interval | ||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-08-31 | 1 | -1/+0 |
|\| | | |||||
| * | | Backed out changeset a23b5cb8c22b | Matthew Wild | 2016-08-31 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | It was a nice idea, but our s2s connection logic is too complicated. The session may have been destroyed inside attempt_connection(). | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-08-28 | 1 | -0/+1 |
|\| | | |||||
| * | | mod_s2s: Fire event when s2s connection fails | Matthew Wild | 2016-08-27 | 1 | -0/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-08-12 | 1 | -1/+3 |
|\| | | |||||
| * | | mod_s2s: Set read mode for s2sout sockets to the same as s2sins | Kim Alvefur | 2016-08-12 | 1 | -1/+3 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-08-08 | 1 | -1/+1 |
|\| | | |||||
| * | | mod_s2s: Index session after checking if it exists (fixes traceback in case ↵ | Kim Alvefur | 2016-08-07 | 1 | -1/+1 |
| | | | | | | | | | | | | of a connection without a session having a read timeout) | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-07-08 | 1 | -0/+10 |
|\| | | |||||
| * | | mod_c2s, mod_s2s: Bootstrap connection count statistic on module load | Kim Alvefur | 2016-07-07 | 1 | -0/+10 |
| | | | |||||
* | | | mod_s2s: Add util.async support | Kim Alvefur | 2016-05-30 | 1 | -9/+37 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-05-30 | 1 | -3/+0 |
|\| | |