httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <>
Subject [PATCH] ab with SSL support
Date Wed, 15 Aug 2001 20:55:06 GMT
	For those interested in having ApacheBench with SSL support, here's
the patch for ab.c.. I've done some tests (concurrency, keepalive, no. of
requests) - there are still a lot of features which are yet to be developed
for SSL connections.. The patch is pretty simple - I just replace the HTTP
open/read/write/close function calls by the corresponding SSL functions...
So, the basic functionality provided by AB for HTTP connections should now
be available for HTTPS connections also.. 
	The SSL support can be enabled by defining "USE_SSL" on the compile
line.. There's however, a small problem of performance penalty.. If AB is
compiled with USE_SSL = ON, then there'll be atleast 4  "if (ssl == 1)"
statements executed for HTTP transactions.. I'm trying to get around it - by
defining a separate path for HTTP & HTTPS transactions - any ideas are

- HTTPS GET requests
- HTTPS KeepAlive
- Concurrency & no. of requests (-c & -n)


View raw message