SF.net SVN: nagiosplug:[2048] nagiosplug/trunk/plugins/tests/check_http.t
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2048
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2048&view=rev
Author: tonvoon
Date: 2008-08-25 18:39:27 +0000 (Mon, 25 Aug 2008)
Log Message:
-----------
Fix HTTP::Daemon::VERSION to get a fixed header size for tests
(Sven Nierlein)
Modified Paths:
--------------
nagiosplug/trunk/plugins/tests/check_http.t
Modified: nagiosplug/trunk/plugins/tests/check_http.t
===================================================================
--- nagiosplug/trunk/plugins/tests/check_http.t 2008-08-25 13:26:11 UTC (rev 2047)
+++ nagiosplug/trunk/plugins/tests/check_http.t 2008-08-25 18:39:27 UTC (rev 2048)
@@ -12,6 +12,9 @@
use HTTP::Status;
use HTTP::Response;
+# set a fixed version, so the header size doesn't vary
+$HTTP::Daemon::VERSION = "1.00";
+
my $port = 50000 + int(rand(1000));
my $pid = fork();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/