Skip to content

Commit 9a1d4c1

Browse files
committed
Add haproxy to benchmarking tool
Adding as a proxy - a middle actor. Currently adding only for apache. Support all the encryption modes for haproxy: - client to proxy - proxy to server - client to server - pure http without encryption Currently adding it only for openssl-master crypto backend. Signed-off-by: Norbert Pocs <norbertp@openssl.org>
1 parent 6869995 commit 9a1d4c1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bench-scripts/apache_bench.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,16 @@ function run_test {
844844
#
845845
# generate URLs for sewage
846846
#
847+
# The different modes for haproxy are:
848+
# no: client - server
849+
# no-ssl: client -http- haproxy -http- server
850+
# server: client -https- haproxy -http- server
851+
# client: client -http- haproxy -https- server
852+
# both: client -https- haproxy -https- server
853+
#
854+
# Otherwise said, haproxy is a client when it encrypts the outgoing encryption;
855+
# or it's client side.
856+
#
847857
rm -f siege_urls.txt
848858
for i in `ls -1 ${HTDOCS}/*.txt` ; do
849859
if [[ "${HAPROXY}" = "no" ]] ; then

0 commit comments

Comments
 (0)