[httperf] [PATCH] Support for multiple Virtualhosts

Xabier de Zuazo xabier at zuazo.org
Thu Feb 23 06:10:04 PST 2012


I have attached a simple patch to make httperf work with multiple
Virtualhosts. It sends different "Host" headers, but to the same
machine (as always, specified by the --server option).

It only works with the --wlog flag, optionally prepending
https://myvirtualhost to the URIs in the file.

These are the instructions for applying the patch:

$ tar xzf httperf-0.9.0.tar.gz 
$ patch -p0 < httperf-0.9.0-multihost.patch 
patching file httperf-0.9.0/man/httperf.1
patching file httperf-0.9.0/src/call.h
patching file httperf-0.9.0/src/gen/uri_wlog.c


Xabier de Zuazo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httperf-0.9.0-multihost.patch
Type: text/x-patch
Size: 2769 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/httperf/attachments/20120223/e26a4de9/httperf-0.9.0-multihost.bin

More information about the httperf mailing list