Consider code in poller.c. There, if error code is one of SUCCEED, NOTSUPPORTED or AGENT_ERROR, we treat the host as available and activate it with a call to activate_host().
However, this is not fully correct. An item may become unsupported before a connection to the host is attempted. For instance, if a bad port is specified or its key has a bad syntax.