/[Apache-SVN]
ViewVC logotype

Revision 98633


Jump to revision: Previous Next
Author: jerenkrantz
Date: Wed Feb 12 22:50:59 2003 UTC (21 years, 5 months ago)
Changed paths: 4
Log Message:
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


Changed paths

Path Details
Directoryhttpd/test/trunk/flood/CHANGES modified , text changed , props changed
Directoryhttpd/test/trunk/flood/flood_profile.c modified , text changed , props changed
Directoryhttpd/test/trunk/flood/flood_socket_generic.c modified , text changed , props changed
Directoryhttpd/test/trunk/flood/flood_socket_generic.h modified , text changed , props changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26