Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.pubsub tests: Ensure necessary tests run in the defined order | Matthew Wild | 2018-10-01 | 1 | -0/+8 |
| | |||||
* | util.poll: Increase max epoll events per call | Kim Alvefur | 2018-10-08 | 1 | -1/+1 |
| | | | | | | | | | | This makes the struct roughly the same size in both epoll and select mode (64bit). There doesn’t seem to be much guidance on an appropriate size, it does not seem to matter too much since if there are more events they will simply show up in the next epoll_wait call. The number of exactly concurrent events should be fairly low most of the time anyways. | ||||
* | mod_s2s: Indicate origin of s2s error | Kim Alvefur | 2018-10-08 | 1 | -1/+1 |
| | |||||
* | util.poll: Zero FD sets watched for errors on creation | Kim Alvefur | 2018-10-07 | 1 | -0/+2 |
| | |||||
* | net.poll: Guard against negative or too large FDs | Kim Alvefur | 2018-10-07 | 1 | -0/+14 |
| | |||||
* | util.poll: Fix missing return for adding duplicate FD | Kim Alvefur | 2018-10-07 | 1 | -0/+1 |
| | |||||
* | net.server_epoll: Log error number from wait() | Kim Alvefur | 2018-10-07 | 1 | -1/+1 |
| | |||||
* | MUC: Respond to ping per XEP-0410: MUC Self-Ping server optimization (closes ↵ | Kim Alvefur | 2018-10-07 | 1 | -0/+5 |
| | | | | #1220) | ||||
* | .luacheckrc: Ignore unused secondaries in non-strict mode | Kim Alvefur | 2018-10-06 | 1 | -2/+2 |
| | | | | Previous commit was backwards | ||||
* | .luacheckrc: Do not ignore unused secondaries in strict mode | Kim Alvefur | 2018-10-06 | 1 | -0/+1 |
| | |||||
* | net.server_epoll: Pass error number to logging | Kim Alvefur | 2018-10-06 | 1 | -1/+1 |
| | | | | Why do we ignore unused secondaries? | ||||
* | util.poll: Tweak metatable name field | Kim Alvefur | 2018-10-06 | 1 | -2/+2 |
| | |||||
* | net.server_epoll: Fix luacheck annotation | Kim Alvefur | 2018-10-06 | 1 | -1/+1 |
| | |||||
* | net.server_epoll: Make :set_send a noop, should fix net.adns | Kim Alvefur | 2018-10-06 | 1 | -4/+3 |
| | | | | | | This is also a noop in server_event. Supposedly meant to prevent buffered writes from being sent to the socket, but that path becomes unreachable when net.adns replaces the public send method | ||||
* | util.poll: Fix monitoring of socket exceptions in select mode | Kim Alvefur | 2018-10-06 | 1 | -1/+1 |
| | | | | | Since state->err is a set of all watched FDs, this mistake caused all sockets to appear to have errors. | ||||
* | mod_version: Reduce scope of variable | Kim Alvefur | 2018-10-06 | 1 | -2/+1 |
| | | | | It is only used in this if block anyways | ||||
* | mod_version: Rename confusingly named variable | Kim Alvefur | 2018-10-06 | 1 | -8/+8 |
| | | | | Maybe this meant the version of the OS, but it's still confusing. | ||||
* | mod_version: Make 'origin' variable local for consistency | Kim Alvefur | 2018-10-06 | 1 | -2/+2 |
| | | | | | | Many event handlers start with local origin, stanza = event.origin, event.stanza; | ||||
* | mod_version: Use text_tag | Kim Alvefur | 2018-10-06 | 1 | -3/+3 |
| | |||||
* | net.server_epoll: Inherit Direct TLS flag from servers to their clients | Kim Alvefur | 2018-09-14 | 1 | -1/+2 |
| | |||||
* | net.server_epoll: Catch errors from luasec.wrap | Kim Alvefur | 2018-09-14 | 1 | -1/+5 |
| | | | | It throws if given an invalid TLS context | ||||
* | net.server_epoll: Delay wrapping sockets in TLS until just before first ↵ | Kim Alvefur | 2018-09-14 | 1 | -14/+21 |
| | | | | handshake | ||||
* | make coverage: Allow overriding path to busted | Kim Alvefur | 2018-10-03 | 1 | -1/+1 |
| | |||||
* | mod_server_contact_info: Comment on fallback to using 'admins' | Kim Alvefur | 2018-10-01 | 1 | -0/+1 |
| | |||||
* | configure: Suppress warning about '~' [SC2088] | Matthew Wild | 2018-10-01 | 1 | -0/+1 |
| | |||||
* | configure: Replace use of '-o' with '||' [SC2166] | Matthew Wild | 2018-10-01 | 1 | -3/+3 |
| | |||||
* | configure: Fix incorrect syntax of '&&' in previous commit | Matthew Wild | 2018-10-01 | 1 | -10/+10 |
| | |||||
* | configure: Replace usage of '-a' with '&&' [SC2166] | Matthew Wild | 2018-10-01 | 1 | -10/+10 |
| | |||||
* | make lint: Add shellcheck of configure script | Matthew Wild | 2018-10-01 | 1 | -0/+1 |
| | |||||
* | configure: Add shellcheck directives to suppress warnings on harmless lines | Matthew Wild | 2018-10-01 | 1 | -1/+3 |
| | |||||
* | configure: Replace logic constructs with explicit if/else statements | Matthew Wild | 2018-10-01 | 1 | -2/+10 |
| | |||||
* | configure: Remove unnecessary 'echo' | Matthew Wild | 2018-10-01 | 1 | -1/+1 |
| | |||||
* | configure: Rename OSTYPE variable due to conflict with magic variable with ↵ | Matthew Wild | 2018-10-01 | 1 | -9/+8 |
| | | | | same name on some shells/platforms | ||||
* | configure: Replace backticks with $() | Matthew Wild | 2018-10-01 | 1 | -7/+7 |
| | |||||
* | configure: Remove unused function | Matthew Wild | 2018-10-01 | 1 | -19/+0 |
| | |||||
* | make lint: Fix 'ignored files' count | Matthew Wild | 2018-10-01 | 1 | -1/+1 |
| | |||||
* | mod_websocket: Silence the one warning instead of ignoring the entire file | Kim Alvefur | 2018-09-30 | 2 | -1/+2 |
| | |||||
* | 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 | 2 | -8/+13 |
| | |||||
* | mod_admin_telnet: Guard against missing table field | Kim Alvefur | 2018-09-30 | 1 | -1/+1 |
| | |||||
* | mod_admin_telnet: Create metatable only once | Kim Alvefur | 2018-09-30 | 1 | -1/+2 |
| | |||||
* | mod_admin_telnet: Remove unused histogram [luacheck] | Kim Alvefur | 2018-09-30 | 1 | -2/+0 |
| | |||||
* | mod_admin_telnet: Remove unused variable [luacheck] | Kim Alvefur | 2018-09-30 | 1 | -1/+1 |
| | |||||
* | mod_admin_telnet: Remove from luacheck ignore list | Kim Alvefur | 2018-09-30 | 1 | -1/+0 |
| | |||||
* | mod_admin_telnet: Import net.server instead of relying on global | Kim Alvefur | 2018-09-30 | 1 | -0/+1 |
| | |||||
* | mod_admin_telnet: Use prosody.hosts to be more explicit and avoid name clash ↵ | Kim Alvefur | 2018-09-30 | 1 | -15/+14 |
| | | | | with 'hosts' arguments [luacheck] | ||||
* | mod_admin_telnet: Remove or rename various unused arguments and variables ↵ | Kim Alvefur | 2018-09-30 | 1 | -15/+15 |
| | | | | [luacheck] | ||||
* | mod_admin_telnet: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2018-09-30 | 1 | -2/+2 |
| | |||||
* | mod_admin_adhoc: Ignore the very long lines at the end [luacheck] | Kim Alvefur | 2018-09-30 | 1 | -0/+1 |
| |