[web-devel] Connection: handling on Warp

Aristid Breitkreuz aristidb at googlemail.com
Tue Jul 19 19:12:02 CEST 2011

Warp should handle HTTP 1.0 and Connection: close properly, even if ab is a
piece of s.
Am 19.07.2011 18:51 schrieb "Bryan O&apos;Sullivan" <bos at serpentine.com>:
> On Tue, Jul 19, 2011 at 2:10 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
>> ab (ApacheBench) tries to create HTTP 1.0 connections and expects that
>> the connections are closed by the server side. So, trying to benchmark
>> Warp with "ab" results in getting stacked.
> ApacheBench is a piece of ... well, I've nothing good to say about it. It
> doesn't speak HTTP 1.1, it screws up keepalive negotiations, it fails to
> scale up to generating high load, etc, etc.
> If you want something more plausible that actually speaks HTTP 1.1 (HTTP
> is just about dead in the real world, and has been for ages), use httperf.
> However, I quite strongly dislike using it: it takes a long time to read
> enough of the documentation to figure out how to do supposedly simple
> ... such as specifying a URL!
> My Haskell HTTP load tester is incomplete, but definitely solid enough for
> use now: https://github.com/mailrank/http-load-tester
> It uses the criterion analysis engine to give solid information about its
> measurements.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110719/19b98163/attachment.htm>

More information about the web-devel mailing list