tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <>
Subject Re: mod_jk 1.2.0/1.1.0 vs ab
Date Fri, 05 Oct 2001 05:42:49 GMT wrote:

> I think ( or guess ) that ab is checking the length of the first request,
> and if following requests have different lengths it assumes it's a
> failure.
> Could you check if your page returns the same thing ? Very strange..

I ran the thing with -v 99 and it shows only the beginning of each page.
They all look identical, apart from the JSESSIONID cookie. And every
time there is a request, there is a response, no failures there.

The funny bit is that headers returned by Tomcat don't even include
Content-length, so how does ab conclude that the length is wrong, beats
me. But your guess is probably a good one.

Headers returned by Apache, do contain Content-length, so ab probably
has something more to work with there.

Since I can control the headers from my servlet, let my try with
Content-length. Fingers crossed...


View raw message