Forum: Ruby Detecting cancelled request using Rack

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
53581739a445ad78250a676dabddf55f?d=identicon&s=25 James Coglan (Guest)
on 2009-06-06 01:05
(Received via mailing list)
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
This topic is locked and can not be replied to.