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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top