[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Detecting cancelled request using Rack

James Coglan

6/5/2009 11:04:00 PM

[Note: parts of this message were removed to make it a legal post.]

Hi all,

I was wondering whether it's possible to detect a cancelled request in Rack
or in web frameworks including Rails and Sinatra. I'm experimenting with a
little Comet library and want a way to shut down message listeners in the
server-side process if a long-running request from the client is
interrupted.

Thanks,
James