aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_net_multiplex.lua
Commit message (Collapse)AuthorAgeFilesLines
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-2/+2
|
* mod_net_multiplex: Set read size/mode to that of the target listenerKim Alvefur2020-08-021-0/+3
| | | | | Otherwise it would use the configured buffer size, or previously '*a'. Using the read size set by the listener seems more sensible.
* mod_net_multiplex: Read no more than the max buffer size settingKim Alvefur2020-08-021-1/+1
| | | | | Otherwise the '*a' read mode applies, which under certain circumstances can read infinite amounts of data into memory.
* mod_net_multiplex: Remove debug messageKim Alvefur2019-12-011-1/+0
| | | | | This was something I added during development and set to info level for visibility.
* mod_net_multiplex: Tweak debug logging for ALPN caseKim Alvefur2019-11-291-2/+1
|
* mod_net_multiplex: Add support for using ALPNKim Alvefur2019-11-291-3/+37
| | | | | | | Potentially a bit more efficient since it can jump to the selected protocol on connect instead of waiting for some data to look at. Adds a 'protocol' field to net providers for this purpose.
* mod_net_multiplex: Silence luacheck warningsKim Alvefur2018-10-101-6/+6
|
* Merge 0.9->0.10Kim Alvefur2017-01-041-0/+1
|\
| * mod_net_multiplex: Enable SSL on the SSL port (fixes #803)Kim Alvefur2016-12-211-0/+1
| |
* | mod_net_multiplex: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-141-1/+1
|/
* net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-291-1/+2
| | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
* mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use ↵Waqas Hussain2012-09-121-1/+1
| | | | module:provides() instead of module:add_item().
* mod_net_multiplex: Port multiplexing (run multiple different services on a ↵Matthew Wild2012-03-151-0/+70
the same port(s))... now pluggable for use with any net plugin