[Mongrel] Why Mongrel doesn't cancel connection on error?
Alexey Petrushin
lists at ruby-forum.com
Wed Jul 8 13:27:32 EDT 2009
Why Mongrel doesn't cancel connection on error?
Example: (Mongrel using Rack)
...
def call env
begin
p :start
sleep 10
ensure
p :stop
end
end
...
Open browser, go to localhost:8080, and immediatelly close the browser.
Output will be:
start
<waits for 10 sec>
end
Why it doesn't cancel/kill thread immediatelly?
--
Posted via http://www.ruby-forum.com/.
More information about the Mongrel-users
mailing list