[Pkg-nagios-changes] [pkg-nagios] r1575 - in nagios-plugins/trunk/debian: . patches
Jan Wagner
waja at alioth.debian.org
Mon Sep 22 12:46:42 UTC 2008
Author: waja
Date: 2008-09-22 12:46:42 +0000 (Mon, 22 Sep 2008)
New Revision: 1575
Modified:
nagios-plugins/trunk/debian/changelog
nagios-plugins/trunk/debian/patches/41_check_http_fix_http_header.dpatch
Log:
readd server_port
Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog 2008-09-14 19:37:21 UTC (rev 1574)
+++ nagios-plugins/trunk/debian/changelog 2008-09-22 12:46:42 UTC (rev 1575)
@@ -1,6 +1,7 @@
nagios-plugins (1.4.12-4) UNRELEASED; urgency=low
- * NOT RELEASED YET
+ * add server_port back to 41_check_http_fix_http_header.dpatch,
+ patch was incomplete
-- Jan Wagner <waja at cyconet.org> Sun, 24 Aug 2008 07:40:12 +0200
Modified: nagios-plugins/trunk/debian/patches/41_check_http_fix_http_header.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/41_check_http_fix_http_header.dpatch 2008-09-14 19:37:21 UTC (rev 1574)
+++ nagios-plugins/trunk/debian/patches/41_check_http_fix_http_header.dpatch 2008-09-22 12:46:42 UTC (rev 1575)
@@ -17,7 +17,7 @@
+ * Useragent. This fixes an issue with getting 301 responses from servers
+ * with virtual hosts */
+ if (host_name)
-+ asprintf (&buf, "%s %s HTTP/1.1\r\nHost: %s\r\n%s\r\n", http_method, server_url, host_name, user_agent);
++ asprintf (&buf, "%s %s HTTP/1.1\r\nHost: %s:%d\r\n%s\r\n", http_method, server_url, host_name, server_port, user_agent);
+ else
+ asprintf (&buf, "%s %s HTTP/1.0\r\n%s\r\n", http_method, server_url, user_agent);
More information about the Pkg-nagios-changes
mailing list