Re: [Cppcms-users] Server Sent events and CppCMS
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-08-10 19:37:49
|
Ooops, forget to attach Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ ----- Original Message ----- > From: Barbu Paul - Gheorghe <bar...@gm...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Cc: > Sent: Friday, August 10, 2012 9:40 PM > Subject: Re: [Cppcms-users] Server Sent events and CppCMS > > On 08/10/2012 06:48 PM, Artyom Beilis wrote: >> I had changed your example a little: >> >> 1. Remove context from the list such that it would not write some more data >> until completion handler returns. >> 2. You use incorrectly completion handler - you need to receive the status >> in handler. >> 3. Reduced reconnect option so the client would reconnect immediatly > > Where can I see the changed code? > >> Also it would be better to use Last-Event-ID header and setup ids so the >> client that is disconnected can reconnect and restart from correct point. > > Yeah this is more of a feature, what I did was a proof of concept for myself to > see if I'm able to implement it... > > -- > Barbu Paul - Gheorghe > Common sense is not so common - Voltaire > Visit My GitHub profile to see my open-source projects - > https://github.com/paullik > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |