]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Add simple 'ping' endpoint for healthchecks
authorOlliver Schinagl <oliver@schinagl.nl>
Sat, 10 Jun 2023 15:16:06 +0000 (17:16 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Sun, 11 Jun 2023 18:19:44 +0000 (20:19 +0200)
commit1705297c27d76848a87cff34dd6bfe7d9d74c87a
treea7bfb50528b48c364b91d163b8c17fe466e3697f
parent9df7d2d6bc37b8aa25ac63be7b0a5d69be10c892
Add simple 'ping' endpoint for healthchecks

To determine if the server is online, we want to be able to 'ping' it
with as little configuration and access possibilities as possible. The
only available option for this today, is anonymous access.

Let us thus add a new endpoint, that replies with 'PONG' when queried.

This will need anonymous access enabled, but can be restricted to:
a) localhost
b) without any access permissions

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
src/webui/simpleui.c