Comparison

plugins/mod_http.lua @ 10465:09697a673015

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.
author Kim Alvefur <zash@zash.se>
date Fri, 29 Nov 2019 23:27:51 +0100
parent 10460:5ce6cbb5ce6a
child 10840:a83bfb266b15
comparison
equal deleted inserted replaced
10464:8d3acf16c404 10465:09697a673015
240 name = "https"; 240 name = "https";
241 listener = server.listener; 241 listener = server.listener;
242 default_port = 5281; 242 default_port = 5281;
243 encryption = "ssl"; 243 encryption = "ssl";
244 multiplex = { 244 multiplex = {
245 protocol = "http/1.1";
245 pattern = "^[A-Z]"; 246 pattern = "^[A-Z]";
246 }; 247 };
247 }); 248 });