[Nagiosplug-devel] [ nagiosplug-Patches-1881898 ] Fix 'Host:' header to include port
SourceForge.net
noreply at sourceforge.net
Sat Mar 15 01:16:37 CET 2008
Patches item #1881898, was opened at 2008-01-29 17:14
Message generated for change (Comment added) made by psychotrahe
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1881898&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Christophe Dupre (duprec)
>Assigned to: Matthias Eble (psychotrahe)
Summary: Fix 'Host:' header to include port
Initial Comment:
RFC-2616 (HTTP/1.1 protocol) states that the lack of the port information in the "Host: " header supplied by the client implies the default value (80 for http, 443 for https). This means that if we override the port with the '-p' option, the plugin must provide that information in the "Host: " header.
This patch fixes that oversight by always supplying the port, which is accepted practice and makes it a one-liner.
----------------------------------------------------------------------
Comment By: Matthias Eble (psychotrahe)
Date: 2008-03-15 01:16
Message:
Logged In: YES
user_id=1694341
Originator: NO
this patch has been committed to the nagiosplug SVN repository.
thank you for your contribution.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1881898&group_id=29880
More information about the Devel
mailing list