Handling closed and broken connection

Igor Askarov lists at ruby-forum.com
Mon Oct 11 17:30:49 MSD 2010

Hi all!

Can someone share an idea of the right way of making the worker to wait
for some event to happen without blocking other requests (eg. for some
file to appear on the local filesystem)?

I tried setting up the timers but not sure it is a proper way, though it
is working. The 'destroyed' flag is being set while connection is
actually open and I have to figure out how to handle the closed
connection event to stop the timers.

Posted via http://www.ruby-forum.com/.

More information about the nginx mailing list