Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net.server_epoll: Set timers before calling onincoming, fixes traceback if ↵ | Kim Alvefur | 2016-08-18 | 1 | -6/+6 |
| | | | | connection is closed before onincoming returns | ||||
* | Merge 0.10->trunk | Kim Alvefur | 2016-08-18 | 6 | -41/+67 |
|\ | |||||
| * | net.http.server: Add luacheck annotations | Kim Alvefur | 2016-08-18 | 1 | -2/+2 |
| | | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2016-08-18 | 3 | -8/+37 |
| |\ | |||||
| | * | mod_http: Allow configuring http parser size limits | Kim Alvefur | 2016-08-18 | 1 | -0/+3 |
| | | | |||||
| | * | net.http.server: Expose way to set http server options | Kim Alvefur | 2016-08-18 | 1 | -1/+8 |
| | | | |||||
| | * | net.http.parser: Allow limits to be configurable via options callback | Kim Alvefur | 2016-08-18 | 1 | -2/+2 |
| | | | |||||
| | * | net.http.parser: Add a limit on maximum buffer size, default to 20M | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | | |||||
| | * | net.http.parser: Add a limit on content length, default to 10M | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | | |||||
| | * | net.http.parser: Buffer into a table to reduce GC pressure, collapse to ↵ | Kim Alvefur | 2016-08-13 | 1 | -7/+22 |
| | | | | | | | | | | | | string when needed (fixes #603) | ||||
| * | | net.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from ↵ | Kim Alvefur | 2016-08-13 | 1 | -0/+1 |
| | | | | | | | | | | | | RFC 7725 | ||||
| * | | net.http.codes: Remove used argument | Kim Alvefur | 2016-08-13 | 1 | -1/+1 |
| | | | |||||
| * | | mod_register: Fix inverted throttle check (fixes #724) | Kim Alvefur | 2016-08-13 | 1 | -1/+1 |
| | | | |||||
| * | | net.http.parser: Remove unused argument [luacheck] | Kim Alvefur | 2016-08-13 | 1 | -1/+1 |
| | | | |||||
| * | | ejabberdsql2prosody: rename variable 't' to prevent shadowing upvalues ↵ | Anton Shestakov | 2016-08-12 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | [luacheck] Let's make the result of parseFile() have a more descriptive name. | ||||
| * | | ejabberdsql2prosody: rename variable 'host' to prevent shadowing upvalue ↵ | Anton Shestakov | 2016-08-12 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [luacheck] Functions roster(), roster_pending(), roster_group(), private_storage() and offline_msg() have argument named "host", which used to shadow upvalue of this variable before this change. Instead of renaming this argument, let's rename the variable to match what the script says in usage: Usage: ejabberdsql2prosody.lua filename.txt hostname | ||||
| * | | ejabberdsql2prosody: remove unused one-letter loop variables [luacheck] | Anton Shestakov | 2016-08-12 | 1 | -6/+6 |
| | | | |||||
| * | | ejabberdsql2prosody: remove unused function pushback() [luacheck] | Anton Shestakov | 2016-08-12 | 1 | -4/+0 |
| | | | | | | | | | | | | The same function seems to exist in tools/erlparse.lua, also unused. | ||||
* | | | net.server_epoll: Call ondetach when listeners are replaced | Kim Alvefur | 2016-08-18 | 1 | -0/+1 |
| | | | |||||
* | | | net.server_epoll: Make sure wantwrite is set when starting TLS | Kim Alvefur | 2016-08-18 | 1 | -0/+1 |
| | | | |||||
* | | | net.server_epoll: Prevent invalid FDs from being added to epoll | Kim Alvefur | 2016-08-18 | 1 | -0/+4 |
| | | | |||||
* | | | net.server_epoll: Make sure a recent LuaSocket is avaliable | Kim Alvefur | 2016-08-18 | 1 | -0/+2 |
| | | | |||||
* | | | net.server_epoll: Trigger onconnect for TLS connections when writable after ↵ | Kim Alvefur | 2016-08-18 | 1 | -1/+4 |
| | | | | | | | | | | | | handshake | ||||
* | | | net.server_epoll: Add separate timout for initial connection | Kim Alvefur | 2016-08-18 | 1 | -1/+2 |
| | | | |||||
* | | | net.server_epoll: TLS handshake timeout | Kim Alvefur | 2016-08-18 | 1 | -2/+4 |
| | | | |||||
* | | | net.server_epoll: Refactor to use common initialization | Kim Alvefur | 2016-08-18 | 1 | -24/+16 |
| | | | |||||
* | | | net.server_epoll: Connect async in addclient | Kim Alvefur | 2016-08-18 | 1 | -1/+2 |
| | | | |||||
* | | | net.server_epoll: Return status from starttls method | Kim Alvefur | 2016-08-18 | 1 | -0/+1 |
| | | | |||||
* | | | net.server_epoll: Prevent anything from happening to destroyed sockets | Kim Alvefur | 2016-08-18 | 1 | -1/+7 |
| | | | |||||
* | | | net.server_epoll: Prevent further writing after closing a socket | Kim Alvefur | 2016-08-18 | 1 | -0/+3 |
| | | | |||||
* | | | net.server_epoll: Additional logging of connects and TLS | Kim Alvefur | 2016-08-18 | 1 | -1/+8 |
| | | | |||||
* | | | net.server_epoll: Improve syntax | Kim Alvefur | 2016-08-18 | 1 | -1/+2 |
| | | | |||||
* | | | net.server_epoll: Remove read timeout when waiting to read more from buffer | Kim Alvefur | 2016-08-18 | 1 | -1/+3 |
| | | | |||||
* | | | net.server_epoll: Return early on successful write | Kim Alvefur | 2016-08-18 | 1 | -0/+1 |
| | | | |||||
* | | | net.server_epoll: Don't call ondrain when connection is to be closed | Kim Alvefur | 2016-08-18 | 1 | -5/+6 |
| | | | |||||
* | | | net.server_epoll: Comment some overly verbose logging | Kim Alvefur | 2016-08-18 | 1 | -2/+2 |
| | | | |||||
* | | | net.server_epoll: Return something as FD when no connection exists | Kim Alvefur | 2016-08-18 | 1 | -1/+4 |
| | | | |||||
* | | | net.server_epoll: Improve string representation of connections | Kim Alvefur | 2016-08-18 | 1 | -7/+5 |
| | | | |||||
* | | | net.server_epoll: Collect and expose local and remote address and ports | Kim Alvefur | 2016-08-18 | 1 | -5/+25 |
| | | | |||||
* | | | net.server_epoll: Call callbacks through common method in protected mode | Kim Alvefur | 2016-08-18 | 1 | -30/+29 |
| | | | |||||
* | | | net.server_epoll: Fix missing quotes in logging call | Kim Alvefur | 2016-08-18 | 1 | -1/+1 |
| | | | |||||
* | | | net.server_epoll: Add some comments | Kim Alvefur | 2016-08-18 | 1 | -1/+11 |
| | | | |||||
* | | | net.server_epoll: Clear write flag before calling ondrain, fixes calling of ↵ | Kim Alvefur | 2016-08-16 | 1 | -7/+3 |
| | | | | | | | | | | | | ondisconnect on explicit close | ||||
* | | | net.server_epoll: Wrap calling of ondisconnect listener in additional ↵ | Kim Alvefur | 2016-08-14 | 1 | -4/+12 |
| | | | | | | | | | | | | indirection | ||||
* | | | 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 |
| | | | |||||
* | | | net.server_epoll: Continue reading after a slight delay if there is buffered ↵ | Kim Alvefur | 2016-08-12 | 1 | -0/+7 |
| | | | | | | | | | | | | data after a read | ||||
* | | | net.server_epoll: Replace any previous pausefor timer | Kim Alvefur | 2016-08-12 | 1 | -3/+8 |
| | | | |||||
* | | | net.server_epoll: Fix calculation of next timer event | Kim Alvefur | 2016-08-12 | 1 | -9/+7 |
| | | | |||||
* | | | net.server_epoll: Don't mistake success for an error | Kim Alvefur | 2016-08-11 | 1 | -1/+1 |
| | | |