Okay... I've done this checkin: http://github.com/dpp/liftweb/commit/be575ea2ceb6510c17b905e12b2d9b22db892d37
It adds a heartbeat function to LiftRules for Comet-enabled containers (read Jetty). There's a modification to the examples code to demonstrate it. On my local box, "it worked fine". Looking for feedback on (1) if it gets the job done for Daniel & Co. and (2) how we can make it more general so that we can bring it forward to Lift 2.0. On Tue, Jan 26, 2010 at 11:50 AM, David Pollak < [email protected]> wrote: > Folks, > > I'm rooting around in Lift/Jetty code to try to create a heartbeat system. > I'm going to post random notes as I learn things... kinda stream of > consciousness. > > We're not the only ones that care: > > http://markmail.org/message/22segyhko3csr5sy#query:jetty%20detecting%20browser%20disconnect+page:1+mid:mel7wohcvsfd76cy+state:results > > It's likely that there are a ton of factors (keep-alive, proxy, etc.) but > perhaps an approximation will do. > > More as I find it. > > Thanks, > > David > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Surf the harmonics > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
