Browse files

Keep stream open, again.

  • Loading branch information...
1 parent 9699345 commit 8d9c583364008e4b4ab0a5ec01af1e4e2f20734f @tekacs tekacs committed Jun 1, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 stream.rb
View
12 stream.rb
@@ -14,12 +14,12 @@ def response(env)
env.stream_send(".\n")
end
- EM.add_timer(10) do
- keepalive.cancel
-
- env.stream_send("End of stream.")
- env.stream_close
- end
+ # EM.add_timer(10) do
+ # keepalive.cancel
+ #
+ # env.stream_send("End of stream.")
+ # env.stream_close
+ # end
[200, {'Content-Type' => 'text/plain'}, Goliath::Response::STREAMING]
end

0 comments on commit 8d9c583

Please sign in to comment.