Detecting cancelled request using Rack

J

James Coglan

[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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,477
Latest member
ColumbusMa

Latest Threads

Top