aboutsummaryrefslogtreecommitdiff
path: root/net/sslh/files
diff options
context:
space:
mode:
authorWarren Ng <looklookson@gmail.com>2020-05-03 10:58:20 +0800
committerWarren Ng <looklookson@gmail.com>2020-05-03 10:58:40 +0800
commita22b190ca862afdb6ea50909c57ddae112a63342 (patch)
tree0405f4771e6d6338a3a7620141fc8e5626f0239a /net/sslh/files
parent6198128711fec34579cd16c2e6f4aff098862e87 (diff)
sslh: Add http probe support
Signed-off-by: Warren Ng <looklookson@gmail.com>
Diffstat (limited to 'net/sslh/files')
-rw-r--r--net/sslh/files/sslh.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sslh/files/sslh.init b/net/sslh/files/sslh.init
index 248ff0d37..6e71a5394 100644
--- a/net/sslh/files/sslh.init
+++ b/net/sslh/files/sslh.init
@@ -44,6 +44,9 @@ start_instance() {
# I) sslh config file (cmd line args override file settings)
config_get val "${section}" configfile
[ -n "${val}" ] && append args "-F${val}"
+ # J) http parameter
+ config_get val "${section}" http
+ [ -n "${val}" ] && append args "--http ${val}"
# Defaults were removed for --user and --pidfile options
# in sslh 1.11; Define them here instead.