From a22b190ca862afdb6ea50909c57ddae112a63342 Mon Sep 17 00:00:00 2001 From: Warren Ng Date: Sun, 3 May 2020 10:58:20 +0800 Subject: [PATCH] sslh: Add http probe support Signed-off-by: Warren Ng --- net/sslh/Makefile | 2 +- net/sslh/files/sslh.init | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net/sslh/Makefile b/net/sslh/Makefile index fbf097be7..8ce761b38 100644 --- a/net/sslh/Makefile +++ b/net/sslh/Makefile @@ -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/ 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.