http_server: health: check if hs_health_key is NULL(#3983)
http_server: health: check if hs_health_key is NULL(#3983)

If user accesses /api/v1/health before initializing,
it is caused SIGSEGV.

This patch is to check if it is NULL and allocate it before using.

Signed-off-by: Takahiro Yamashita <8b9f03f78cb27351a99f79113f99e589b65190d5@gmail.com>

fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit