Log of /httpd/flood/trunk/flood_socket_generic.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_socket_generic.c
File length: 6162 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
98633 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 12 22:50:59 2003 UTC
(21 years, 6 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_socket_generic.c
File length: 7904 byte(s)
Diff to
previous 98632
(
colored)
Added generic_fullresp_recv_resp() to force full response.
This patch adds a new handler that always retrieves the entire response.
This handler is needed because we currently do not have a way to tell
flood to always retrieve the entire response. We have a "wantresponse"
flag that tells the socket code whether or not to retrieve the entire
response. Handlers such as round_robin_create_req() set this flag based
on varying factors. With the new generic_fullresp_recv_resp() handler,
you can specify it in your <profile> section like this:
<recv_resp>generic_fullresp_recv_resp</recv_resp>
to cause flood to retrieve the entire response.
When used with the handler:
relative_times_process_stats
you can measure the total bytes sent and received with each request
and response.
Submitted by: Phi-Long Tran <ptran@pobox.com>
Reviewed by: Justin Erenkrantz
Revision
98632 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 12 22:44:55 2003 UTC
(21 years, 6 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_socket_generic.c
File length: 7275 byte(s)
Diff to
previous 98570
(
colored)
Fixed compiler warning about signed/unsigned mismatch in generic_recv_resp()
This patch addresses the following compiler warning generated by the
Visual C++ 6 compiler:
flood_socket_generic.c(161) : warning C4018: '>' : signed/unsigned mismatch
We have two local variables declared as integers used in an expression
involving an unsigned type. I changed the variable declarations to
match the unsigned type to address the warning. All three variables
involved deal with memory sizes using apr_size_t, so it's safe to
change the declarations.
Submitted by: Phi-Long Tran <ptran@pobox.com>
Reviewed by: Justin Erenkrantz
Revision
92309 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 4 09:10:34 2001 UTC
(22 years, 8 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_socket_generic.c
File length: 7158 byte(s)
Diff to
previous 92013
(
colored)
Oh, that's nice. If we don't have SSL support built-in, they get a generic
error message. At least indicate that it isn't "implemented" - so, if we
see this with open_socket call, we know what it is. (And with the recent
patch to print the URL, it'll be obvious when this happens.)
Revision
89918 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 4 04:26:21 2001 UTC
(23 years ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_socket_generic.c
File length: 3560 byte(s)
Diff to
previous 89848
(
colored)
Add ability to retrieve some data from the response and place it in
state variables (max of 10). These "state" variables live for the
life of the profile (i.e. all elements in the urllist). They may be
referred in any template via $[0-9]. Add ability to store the
entire response (only active if a response template is present).
This works. Sure. I'm going home now.
Revision
89848 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Added
Wed Aug 1 03:10:37 2001 UTC
(23 years ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_socket_generic.c
File length: 2431 byte(s)
This is an atypically large patch. I got half way into fixing
the profile_events API to work with keepalive when I realized
that these event "groups" should be off in their own files.
So:
- Updated the profile_events_t struct to handle sockets
in an abstractable way. They now have a lifetime and
their behaviour can be overriden in this manner.
- Regrouped the events in the profile_events to make
more sense. This stuff should probable be split up
into the groups (where a "group" is a bunch of
event functions that need to all be overriden at
once to provide some new functionality). Currently
the groups are: profile, sockets, reporting, verification.
- Moved the three implementations that we currently have
for the socket events group each into their own files.
The current flavors are: generic, ssl, and keepalive.
- Updated the various examples to work with the new
events.
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.