sslh: Add http probe support
authorWarren Ng <looklookson@gmail.com>
Sun, 3 May 2020 02:58:20 +0000 (10:58 +0800)
committerWarren Ng <looklookson@gmail.com>
Sun, 3 May 2020 02:58:40 +0000 (10:58 +0800)
Signed-off-by: Warren Ng <looklookson@gmail.com>
net/sslh/Makefile
net/sslh/files/sslh.init

index fbf097be74c8de982cf1e5b490d10eebc5e49244..8ce761b3880e0f434b35d787702d0de2e49688fd 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sslh
 PKG_VERSION:=v1.20
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://rutschle.net/tech/sslh/
index 248ff0d37a19df25ced95ddae0b315259f106ac2..6e71a5394dae7ab7efb3cf551b13874e9f7fa8fd 100644 (file)
@@ -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.