Log of /httpd/flood/trunk/flood_round_robin.h
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_round_robin.h
File length: 2083 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
89764 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 29 15:43:07 2001 UTC
(23 years ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_round_robin.h
File length: 3719 byte(s)
Diff to
previous 89633
(
colored)
Add HTTP Keep-Alive support (rudimentary, but functional).
This is done by adding two new hooks:
open_req - Opens a socket (send_req used to do this implicitly).
create_req - Constructs the request (used to be part of get_next_url).
The open_req is executed *before* the create_req because we need to know
if we are a keepalive request and only the socket code knows whether we
are keepalive or not. This is a slight performance penalty on non-keepalive
requests because we are creating the request buffer *after* we have opened
the socket. We could do a "create_sock" that does everything but connect
and sets the keepalive flag? I'll discuss this with Aaron on Monday.
We now have a field in the request that specifies if it should be
Keep-Alive or not. Also, the response has a keepalive field to indicate
whether the connection was keptalive. If the connection was not keptalive,
then the socket should be closed at each iteration.
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.