There is currently an srv_queue converter which is capable of taking the
output of a dynamic name and determining the queue length for a given
server.  In addition there is a sample fetcher for whether a server is
currently up.  This simply combines the two such that srv_is_up can be
used as a converter too.

To avoid code duplication, extract the server lookup into a function
from the existing converter and re-use in both implementations.

Future work might extend this to other sample fetchers for servers, but
this is probably the most useful for acl routing.

Attachment: 0001-MINOR-backend-srv_is_up-converter.patch
Description: Binary data

Reply via email to