coolio: enable async.callback for one-shot body responses
commit69d8ec2f167eb99a1efec4a770ba5951e7c366f0
authorEric Wong <normalperson@yhbt.net>
Tue, 11 Jan 2011 02:07:21 +0000 (10 18:07 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 11 Jan 2011 21:24:23 +0000 (11 13:24 -0800)
tree4a809940fdcfa1f596d48401f7d7e2426ae3453b
parentbf6eb8f1f79ed57ee317b2e6f73c70a59708739f
coolio: enable async.callback for one-shot body responses

The lack of an equivlent to EM::Deferrable prevents us from
doing streaming/trickling responses, but a one-shot body
should work fine for Coolio and generating dynamic responses.
lib/rainbows/coolio/client.rb
lib/rainbows/coolio/thread_client.rb
t/async_chunk_app.ru
t/t0402-async-keepalive.sh [moved from t/t0402-em-async-keepalive.sh with 58% similarity]