Closed svenstaro closed 6 years ago
The Host header is just that, a header; the probe port comes from the port.
@slimhazard once wrote https://code.uplex.de/uplex-varnish/oob_probe/ for this purpose. We might want to put this back on the table as a feature request, so I'll add it for the next bugwash and reopen temporarily
the disucssion has already happened and the outcome is that the vmod is the appropriate solution.
I'm using a config like this:
Expected Behavior
I would expect varnish to query
localhost:5555/something
Current Behavior
It insteads queries
localhost:10080/something
. Effectively. it ignores the port provided in theHost
part of the manually written HTTP request.Possible Solution
In case the
Host
part has a port, always use that. It's definitely the intended behavior in all cases if the user proivdes their port for the probe host manually.Your Environment