/[Apache-SVN]/httpd/flood/trunk/flood_socket_generic.c
ViewVC logotype

Log of /httpd/flood/trunk/flood_socket_generic.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 653656 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 6 00:42:11 2008 UTC (16 years, 3 months ago) by fielding
File length: 6162 byte(s)
Diff to previous 647749 (colored)
promote flood to released products

Revision 647749 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 14 12:16:14 2008 UTC (16 years, 4 months ago) by wrowe
Original Path: httpd/test/flood/trunk/flood_socket_generic.c
File length: 6162 byte(s)
Diff to previous 490946 (colored)
flood is independent of framework, mod_specweb etc


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 106525 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 25 00:36:41 2004 UTC (19 years, 8 months ago) by nd
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 5979 byte(s)
Diff to previous 102613 (colored)
property cleanup


Revision 102613 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 9 08:12:56 2004 UTC (20 years, 6 months ago) by jacekp
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 5979 byte(s)
Diff to previous 102612 (colored)
fixed typo.


Revision 102612 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 8 23:34:41 2004 UTC (20 years, 6 months ago) by jacekp
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 5975 byte(s)
Diff to previous 102138 (colored)
migrating to ALv2


Revision 102138 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 1 13:38:37 2004 UTC (20 years, 7 months ago) by nd
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 7926 byte(s)
Diff to previous 101177 (colored)
update license and copyright to 2004


Revision 101177 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 6 04:27:37 2003 UTC (20 years, 11 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 7926 byte(s)
Diff to previous 98633 (colored)
Fix two minor bugs:

* Change open_socket prototype to return errors.
* Fix HEAD responses with Content-Length specified being handled incorrectly.


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 98570 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 3 17:11:02 2003 UTC (21 years, 6 months ago) by nd
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 7261 byte(s)
Diff to previous 95431 (colored)
bah! what a boring job - update license to 2003.


Revision 95431 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 31 07:59:27 2002 UTC (22 years, 2 months ago) by wrowe
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 7256 byte(s)
Diff to previous 92309 (colored)
  Fix massive header bogosity


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 92013 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 17 02:32:19 2001 UTC (22 years, 8 months ago) by aaron
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 7031 byte(s)
Diff to previous 90146 (colored)
Ouch! This has probably been biting us for a long time! I suspect
this may have been or at least contributed to problems mentioned
in the STATUS file for OpenSSL under high load.


Revision 90146 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 13 23:42:25 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 7021 byte(s)
Diff to previous 89974 (colored)
These newer files needed ASF license headers.


Revision 89974 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 7 00:45:02 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/flood_socket_generic.c
File length: 4387 byte(s)
Diff to previous 89918 (colored)
Allow SSL connections from the "generic" socket class.


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.


infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26