FooBarWidget/passenger — pull request #29 by rolftimmermans (2011-10-30 19:19:57+00:00)
Title: Prespawn script should always connect to localhost

Contrary to what is written in the documentation of Passenger, the prespawn script helper that is used for the `PassengerPreStart` directive does not always connect to localhost. It tries to look up the hostname in the given URL in case of HTTP connections, which may fail in some setups.

It appears this behaviour was accidentally changed in this commit: https://github.com/FooBarWidget/passenger/commit/8e34d3e6c8fc1af7e13495df792b67115422adf7

This patch reverts the behaviour to version 3.0.7 of Passenger and before, where any request is issues against localhost.