diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/264171-check_http-HostHeader.patch | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/264171-check_http-HostHeader.patch')
-rw-r--r-- | web/attachments/264171-check_http-HostHeader.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ | |||
1 | --- check_http.c.orig 2008-01-29 10:58:01.000000000 -0500 | ||
2 | +++ check_http.c 2008-01-29 11:01:47.000000000 -0500 | ||
3 | @@ -753,7 +787,7 @@ | ||
4 | |||
5 | /* optionally send the host header info */ | ||
6 | if (host_name) | ||
7 | - asprintf (&buf, "%sHost: %s\r\n", buf, host_name); | ||
8 | + asprintf (&buf, "%sHost: %s:%d\r\n", buf, host_name, server_port); | ||
9 | |||
10 | /* optionally send any other header tag */ | ||
11 | if (http_opt_headers_count) { | ||