Various HTTP states along the pipline are grouped into HANA_STATUS_*
codes, which are defined in checks.h. Then health_adjust()
is called with that status code, which ends up calling __health_adjust()
if the observe config parameter is enabled.
Example from proxy_http.c:
/* Adjust server's health based on status code. Note: status codes 501
* and 505 are triggered on demand by client request, so we must not
* count them as server failures.
*/
if (objt_server(s->target)) {