Log of /httpd/flood/trunk/flood.c
Parent Directory
|
Revision Log
Revision
490946 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 29 07:49:58 2006 UTC
(17 years, 7 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood.c
File length: 6104 byte(s)
Diff to
previous 106525
(
colored)
Update flood to the new license header.
* flood/NOTICE: Update the copyright year to the date of first publication.
* flood/flood_farmer.c, flood/flood_report_relative_times.h,
flood/flood_simple_reports.h, flood/flood_test.c, flood/flood.c,
flood/flood_farmer.h, flood/flood_socket_generic.c, flood/flood_farm.c,
flood/flood_socket_generic.h, flood/flood_farm.h, flood/flood_config.c,
flood/flood_net_ssl.c, flood/flood_config.h, flood/flood_net_ssl.h,
flood/flood_socket_keepalive.c, flood/flood_easy_reports.c,
flood/flood_round_robin.c, flood/flood_socket_keepalive.h,
flood/flood_easy_reports.h, flood/flood_round_robin.h, flood/flood_net.c,
flood/flood_net.h, flood/flood_profile.c, flood/flood_profile.h,
flood/flood_report_relative_times.c, flood/flood_simple_reports.c:
Update to new license header.
(Used committers/relicense/src/perl/update-AL20.pl)
Revision
98527 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 29 06:13:27 2003 UTC
(21 years, 6 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood.c
File length: 6435 byte(s)
Diff to
previous 95431
(
colored)
Added error handling for failed config-file open.
This patch adds error handling to the code that opens the
configuration file. When you specify an argument to the flood
program, it attempts to open it to read in configuration
information. Previously, there was no error handling, so
the code proceeded to use an invalid file handle when the
file open fails. The code now detects the failure and displays
an error message.
The standard error and output file-opens were moved earlier
in the program in case we need to display error messages
to standard error.
On Windows, using the invalid file handle results in an
access violation. The program now displays a message like
this:
Error opening configuration file: The system cannot find
the file specified. .
Submitted by: Phi-Long Tran <ptran@pobox.com>
Reviewed by: Justin Erenkrantz (minor formatting tweak)
Revision
90276 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 17 07:44:02 2001 UTC
(23 years ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood.c
File length: 6672 byte(s)
Diff to
previous 89888
(
colored)
- Clean up debugging info when using delays.
- Fix error where a url would be chopped off (must follow l.list of apr_text
objects to be valid). This should not affect attributes as they are
handled differently by the expat XML parser.
- Introduce two more random number generators (rand48 and random). Add
autoconf test to choose "best" one. May be good to add support for
/dev/urandom (whatever the non-blocking one is), but Solaris doesn't have
it, so I don't care much right now.
The rand() period is incredibly short. rand48 and random are supposed to
have much longer periods. We'll see...
Revision
89888 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 3 00:08:25 2001 UTC
(23 years ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood.c
File length: 6562 byte(s)
Diff to
previous 89633
(
colored)
The seed used in the PRNG can now be set in a tag,
so tests based on random values can be reproduced.
The tag is <seed> and is a toplevel tag (ie under
<flood>.. just go look at the examples)
This patch changes more stuff in autoconf files, so
rerun buildconf, ok?
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.