From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/264171-check_http-HostHeader.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 web/attachments/264171-check_http-HostHeader.patch (limited to 'web/attachments/264171-check_http-HostHeader.patch') diff --git a/web/attachments/264171-check_http-HostHeader.patch b/web/attachments/264171-check_http-HostHeader.patch new file mode 100644 index 0000000..556e57a --- /dev/null +++ b/web/attachments/264171-check_http-HostHeader.patch @@ -0,0 +1,11 @@ +--- check_http.c.orig 2008-01-29 10:58:01.000000000 -0500 ++++ check_http.c 2008-01-29 11:01:47.000000000 -0500 +@@ -753,7 +787,7 @@ + + /* optionally send the host header info */ + if (host_name) +- asprintf (&buf, "%sHost: %s\r\n", buf, host_name); ++ asprintf (&buf, "%sHost: %s:%d\r\n", buf, host_name, server_port); + + /* optionally send any other header tag */ + if (http_opt_headers_count) { -- cgit v1.2.3-74-g34f1