"keepalive_timeout 0" (really) disables keepalive
commit32d3b1f052810eb15362d001d1501be0e2da88d8
authorEric Wong <normalperson@yhbt.net>
Sat, 28 Aug 2010 06:50:51 +0000 (28 06:50 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 28 Aug 2010 06:53:12 +0000 (28 06:53 +0000)
tree3e36ef1c071eb736c431d0972a24024ba2347aa9
parent108d6afd7ff390bb594c99ba23c91163fa98d8c0
"keepalive_timeout 0" (really) disables keepalive

Although this behavior is mentioned on the documentation,
this was broken under EventMachine, Rev*, and Revactor.

Furthermore, we set the "Connection: close" header to allow the
client to optimize is handling of non-keepalive connections.
lib/rainbows/event_machine.rb
lib/rainbows/response.rb
lib/rainbows/rev/heartbeat.rb
lib/rainbows/revactor.rb
t/t0017-keepalive-timeout-zero.sh [new file with mode: 0755]