httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: Apache 164 percent speed increase
Date Wed, 13 Oct 1999 05:15:12 GMT
On Wed, 13 Oct 1999 TOKILEY@aol.com wrote:

> I thought it was pretty clear...
> Just look at parse_url() in ab.c. It's a very short routine.
> 
> It is too dependent on the beginning 'slash'  being there
> and doesn't know when to toss it away.
> 
> Currently if you want to test against SQUID running on port 3128 
> and you give ApacheBench this command line...
> 
> ab -n 1000 210.210.2.40:3128/http://www.yahoo.com

Erm... what that command line says is that you want to connect to
210.210.2.40, port 3128, and get the document called
"/http://www.yahoo.com".  That is what the docs say, that is what a URL
is.  

> Which means you want SQUID at 210.210.2.40 to 
> give you http://www.yahoo.com...

Maybe that is what _YOU_ mean.  Just because you invent your own
interpretation of what a URL is and how you can create a definition saying
that a particular form of a URL is really saying "use a proxy server to
get this" doesn't mean that ab should be hacked to follow that...

If you want proxy support in ab, you need to add proxy support to ab.  Not
make a little hack so that URLs of a particular form are taken to mean
something special.


Mime
View raw message