abstract listening sockets so we have protocol information alongside the socket

This commit is contained in:
yrutschle committed 2020-11-07 22:31:49 +01:00
1 parent ebeabb6c18
commit c12f7a1ade
5 files changed
+24 -18

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
# Configuration file for testing (use both by sslh under
# test and the test script `t`)
verbose: 2;
verbose: 3;
foreground: true;
inetd: false;
numeric: false;
@@ -17,8 +17,8 @@ syslog_facility: "auth";
listen:
(
{ host: "localhost"; port: "8080"; keepalive: true; },
{ host: "localhost"; port: "8081"; keepalive: true; },
{ host: "localhost"; is_udp: true; port: "4443"; }
{ host: "localhost"; port: "8081"; keepalive: true; }
# { host: "localhost"; is_udp: true; port: "4443"; }
);