We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10451: check_http: don't set virtual host if not necessary

ComponentChecks & Agents
Titlecheck_http: don't set virtual host if not necessary
Date2019-11-07 09:10:15
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p7,2.0.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityIncompatible - Manual interaction might be required

Since version 1.6 the active check check_http automatically set the HTTP Host header and used HTTP/1.1 instead of HTTP/1.0 even if no virtual host was supplied. This may lead to timeouts of the check_http plugin on servers which are not fully compliant with HTTP/1.1.

This werk changes this behaviour so that the Host header is only set if a virtual host is given.

Please note that if you rely on HTTP/1.1 or want to use it you have to supply a virtual host.

Please also note that the virtual host will not be set automatically to the host name anymore. If you relied on this behaviour you now have to provide the virtual host in the affected rules.