Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.poll: Handle failed epoll FD creation | Kim Alvefur | 2018-10-11 | 1 | -1/+12 |
| | |||||
* | util.poll: Early return from __gc in case of no valid epoll FD | Kim Alvefur | 2018-10-11 | 1 | -0/+4 |
| | | | | | This could happen if the epoll FD has already been closed or the epoll_create call failed | ||||
* | net.server_epoll: Update copyright year | Kim Alvefur | 2018-10-11 | 1 | -1/+1 |
| | |||||
* | net.server: Require IP address as argument to addclient (no DNS names) | Kim Alvefur | 2018-10-11 | 3 | -19/+34 |
| | | | | The net.connect API should be used to resolve DNS names first | ||||
* | storagemanager tests: Remove debug print() | Matthew Wild | 2018-10-11 | 1 | -1/+0 |
| | |||||
* | storagemanager tests: Add many more archive tests, including (failing) cases ↵ | Matthew Wild | 2018-10-11 | 1 | -0/+105 |
| | | | | for #1200 and #1073 | ||||
* | storagemanager tests: Add additional archive query tests | Matthew Wild | 2018-10-11 | 1 | -18/+103 |
| | |||||
* | .luacov: Add config for luacov, exclude spec/ | Matthew Wild | 2018-10-11 | 1 | -0/+3 |
| | |||||
* | mod_storage_memory: Switch from '@' prefix to '=' for chunks, '@' is used to ↵ | Matthew Wild | 2018-10-11 | 1 | -3/+3 |
| | | | | indicate a source file name only | ||||
* | storagemanager tests: Add some additional checks | Matthew Wild | 2018-10-10 | 1 | -0/+12 |
| | |||||
* | storagemanager tests: Add initial basic tests for archive stores | Matthew Wild | 2018-10-10 | 1 | -18/+59 |
| | |||||
* | mod_net_multiplex: Silence luacheck warnings | Kim Alvefur | 2018-10-10 | 1 | -6/+6 |
| | |||||
* | mod_net_multiplex: Remove exception from luacheck | Kim Alvefur | 2018-10-10 | 1 | -1/+0 |
| | |||||
* | mod_http_files: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2018-10-10 | 1 | -3/+3 |
| | |||||
* | mod_http_files: Silence luacheck warnings related to config variables | Kim Alvefur | 2018-10-10 | 1 | -0/+1 |
| | |||||
* | mod_http_files: Remove exception from luacheck | Kim Alvefur | 2018-10-10 | 1 | -1/+0 |
| | |||||
* | mod_privacy: Remove exception from luacheck | Kim Alvefur | 2018-10-10 | 1 | -1/+0 |
| | | | | | Plugin has been removed and replaced by a tombstone, no point in excluding it from linting | ||||
* | mod_storage_sql: Remove unused function argument [luacheck] | Kim Alvefur | 2018-10-10 | 1 | -1/+1 |
| | | | | What was the intent of this argument anyways? | ||||
* | mod_storage_sql: Remove exception from luacheck | Kim Alvefur | 2018-10-10 | 1 | -1/+0 |
| | |||||
* | util.promise tests: Fix luacheck warnings | Matthew Wild | 2018-10-10 | 1 | -7/+6 |
| | |||||
* | util.promise: ES6-like API for promises | Matthew Wild | 2018-10-10 | 2 | -0/+395 |
| | |||||
* | MUC: Check that a room password is set before verifying password supplied by ↵ | Michel Le Bihan | 2018-10-09 | 1 | -0/+1 |
| | | | | user | ||||
* | mod_admin_telnet: Allow viewing HTTP event listeners via debug:events('http') | Matthew Wild | 2018-10-09 | 1 | -2/+5 |
| | |||||
* | mod_register_ibr: Include password in user-registering event, to allow e.g. ↵ | Matthew Wild | 2018-10-09 | 1 | -1/+1 |
| | | | | password policy enforcement | ||||
* | Fix storage tests so they run, but not by default | Matthew Wild | 2018-10-01 | 2 | -7/+17 |
| | |||||
* | 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 |
| |