Kim Alvefur
a725ff6218
mod_net_multiplex: Set read size/mode to that of the target listener
...
Otherwise it would use the configured buffer size, or previously '*a'.
Using the read size set by the listener seems more sensible.
5 years ago
Kim Alvefur
aa584a5286
mod_net_multiplex: Read no more than the max buffer size setting
...
Otherwise the '*a' read mode applies, which under certain circumstances
can read infinite amounts of data into memory.
5 years ago
Kim Alvefur
ae49a4500f
mod_net_multiplex: Remove debug message
...
This was something I added during development and set to info level for
visibility.
6 years ago
Kim Alvefur
a577a981ee
mod_net_multiplex: Tweak debug logging for ALPN case
6 years ago
Kim Alvefur
349ac37e3c
mod_net_multiplex: Add support for using ALPN
...
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.
6 years ago
Kim Alvefur
782450c540
mod_net_multiplex: Silence luacheck warnings
7 years ago
Kim Alvefur
6c35b4e278
mod_net_multiplex: Enable SSL on the SSL port ( fixes #803 )
9 years ago
Anton Shestakov
1698a5f3cf
mod_net_multiplex: remove unused one-letter loop variable [luacheck]
10 years ago
Matthew Wild
58edf57b1f
net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
12 years ago
Waqas Hussain
025eca8452
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
13 years ago
Matthew Wild
e776782e7f
mod_net_multiplex: Port multiplexing (run multiple different services on a the same port(s))... now pluggable for use with any net plugin
14 years ago