perlbal/Perlbal — pull request #17 by eserte (2012-09-06 18:36:44+00:00)
Title: Throw an error if non-existing service is used in a VHOST line

Currently it is possible to assign a non-existing service to a VHOST line, e.g.

VHOST example.org = does_not_exist
VHOST * = my_service

A request to example.org will be silently handled by my_service here. I think that Perlbal should complain instead. Unfortunately it does not seem to be possible to complain while the configuration is parsed, because the service definition can be done after the vhosts definition. But it is possible to complain when the non-existent service is about to be used.

Regards,
Slaven