Using HTTP/1.1 and permanent connections

Iñaki Baz Castillo ibc at
Sat Apr 17 18:53:42 EDT 2010

2010/4/16 Eric Wong <normalperson at>:
> Hi Iñaki,
> Unicorn won't try to read further requests from the socket (see
> process_client() in lib/unicorn.rb).

Ok, understood now.

> However, you can use Rainbows! without specifying a concurrency model at
> all (or "use :Base").  That way you'll get proper HTTP/1.1 keepalive
> support and you can control keepalive_timeout:
> # both of these values are the defaults for unconfigured Rainbows!
> Rainbows! do
>  use :Base
>  keepalive_timeout 5
> end

Great! Thanks a lot.

Iñaki Baz Castillo
<ibc at>

More information about the mongrel-unicorn mailing list