/[Apache-SVN]
ViewVC logotype

Revision 394795


Jump to revision: Previous Next
Author: jerenkrantz
Date: Mon Apr 17 22:32:59 2006 UTC (18 years, 1 month ago)
Changed paths: 4
Log Message:
Add extraheader, payloadfile attribute to url element; also support custom HTTP
methods.

(This lets flood passably mimic WebDAV requests.)

* flood_round_robin.c
  (url_t): Add method_string, extra_headers fields.
  (round_robin_create_req): Add short-cut to ->extra_headers field; simplify
  request creation based on methods and add in extra headers if present; 
  (parse_xml_url_info): Set method_string on all variants; support
  payloadfile attribute to load the entire payload from a file; include any
  extra headers  - delimit multiple headers with ; for now.
  (round_robin_get_next_url): Fix whitespace.
* flood_profile.h
  (method_e): Denote 'other' methods.
* config.h.in
  (XML_URLLIST_PAYLOAD_FILE, XML_URLLIST_EXTRA_HEADERS): Define.


Changed paths

Path Details
Directoryhttpd/test/trunk/flood/CHANGES modified , text changed
Directoryhttpd/test/trunk/flood/config.h.in modified , text changed
Directoryhttpd/test/trunk/flood/flood_profile.h modified , text changed
Directoryhttpd/test/trunk/flood/flood_round_robin.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26