perplexes / m2r

Mongrel2 Connection Adapter - Ruby Encrusted Steel-Reinforced Fist
MIT License
90 stars 11 forks source link

Allow to stop Handler when processing a request #48

Open paneq opened 12 years ago

paneq commented 12 years ago

Force stop

paneq commented 11 years ago

I am not sure this is safely possible with current state of ruby. Definitely not trivial:

http://blog.headius.com/2008/02/ruby-threadraise-threadkill-timeoutrb.html http://docs.oracle.com/javase/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html