head	1.2;
access;
symbols
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2003.12.09.08.17.08;	author silby;	state dead;
branches;
next	1.1;

1.1
date	2001.04.27.17.01.06;	author mi;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update http_load to 20020104 from 20010405; remove patch-idle as it has
been integrated into http_load.  Also remove the maintainer, as the port
was quite out of date.
@
text
@--- http_load.c	Thu Apr  5 21:07:27 2001
+++ http_load.c	Thu Apr 26 16:11:40 2001
@@@@ -139,2 +139,3 @@@@
 static int do_checksum, do_throttle, do_verbose, do_jitter, do_proxy;
+static int idle_secs = IDLE_SECS;
 static float throttle;
@@@@ -311,2 +312,12 @@@@
 	    }
+	else if ( strncmp( argv[argn], "-timeout", sizeof("-timeout") ) == 0 && argn + 1 < argc )
+	    {
+	    idle_secs = atoi( argv[++argn] );
+	    if ( idle_secs < 1 )
+		{
+		(void) fprintf(
+		    stderr, "%s: timeout seconds must be at least 1\n", argv0 );
+		exit( 1 );
+		}
+	    }
 	else
@@@@ -459,2 +470,4 @@@@
     (void) fprintf( stderr,
+	"            -timeout N\n" );
+    (void) fprintf( stderr,
 	"            -fetches N | -seconds N\n" );
@@@@ -629,3 +642,3 @@@@
     connections[cnum].idle_timer = tmr_create(
-	nowP, idle_connection, client_data, IDLE_SECS * 1000L, 0 );
+	nowP, idle_connection, client_data, idle_secs * 1000L, 0 );
     connections[cnum].wakeup_timer = (Timer*) 0;
--- http_load.1	Fri Mar 30 22:42:13 2001
+++ http_load.1	Thu Apr 26 16:27:09 2001
@@@@ -10,2 +10,4 @@@@
 .RB [ -verbose ]
+.RB [ -timeout
+.IR seconds ]
 .RI (
@@@@ -48,2 +50,5 @@@@
 The -proxy flag lets you run http_load through a web proxy.
+.PP
+The -timeout flag specifies the amount of seconds to wait for request.
+Default is a compile-time define. (Usually -- 60 seconds).
 .PP
@


1.1
log
@	. Upgrade to the latest version.
	. Change the port versioning scheme from the seemingly static 1.0
	  to one based on the date (the way author releases it).
	. Enable the SSL (https) support by default (unless NO_OPENSSL is set).
	. Use Makefile.bsd instead of patching the software's Makefile --
	  the new Makefile.bsd is nearly twice smaller than the old patch-aa.
	. Add the author-approved patch-idle, which allows to specify the
	  timeout at run-time (on command line), instead of at compile-time.

The maintainer submitted the PR below three weeks ago, and agreed for me
to close it with this commit.

Approved by:	maintainer
PR:		ports/26429	(related)
@
text
@@

