Merge pull request #12060 from looklookson/master
sslh: Add http probe support
This commit is contained in:
commit
355d2b7bef
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=sslh
|
PKG_NAME:=sslh
|
||||||
PKG_VERSION:=v1.20
|
PKG_VERSION:=v1.20
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://rutschle.net/tech/sslh/
|
PKG_SOURCE_URL:=https://rutschle.net/tech/sslh/
|
||||||
|
|
|
@ -44,6 +44,9 @@ start_instance() {
|
||||||
# I) sslh config file (cmd line args override file settings)
|
# I) sslh config file (cmd line args override file settings)
|
||||||
config_get val "${section}" configfile
|
config_get val "${section}" configfile
|
||||||
[ -n "${val}" ] && append args "-F${val}"
|
[ -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
|
# Defaults were removed for --user and --pidfile options
|
||||||
# in sslh 1.11; Define them here instead.
|
# in sslh 1.11; Define them here instead.
|
||||||
|
|
Loading…
Reference in New Issue