<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello&nbsp;<div><br></div><div>It actually reminds me the work done in 3musket33rs project when implementing Cordova plugin for EventSource support on Android [1].</div><div><br></div><div>According to EventSource spec [2], search for "Event stream requests can be redirected using HTTP 301 and 307 redirects as with normal HTTP requests. Clients will reconnect if the connection is closed; a client can be told to stop reconnecting using the HTTP 204 No Content response code."</div><div><br></div><div>Could be a way to deal with it.</div><div>As Matthias suggested let's follow on JIRA ticket.</div><div><br></div><div>Cheers</div><div>Corinne</div><div><br></div><div>[1]&nbsp;<a href="https://github.com/3musket33rs/BrowserPush/blob/master/src/android/org/threemusketeers/eventsource/EventSourceHandshaker.java#L43">https://github.com/3musket33rs/BrowserPush/blob/master/src/android/org/threemusketeers/eventsource/EventSourceHandshaker.java#L43</a></div><div>[2]&nbsp;<a href="http://www.w3.org/TR/eventsource/">http://www.w3.org/TR/eventsource/</a></div><div><br></div><div><br><div><div>On Aug 9, 2013, at 10:44 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Karel,<div><br></div><div>I tested OpenShift as well (with CURL), which lead me to create this JIRA:</div><div><a href="https://issues.jboss.org/browse/AGPUSH-240">https://issues.jboss.org/browse/AGPUSH-240</a><br>
</div><div><br></div><div>Right now -&gt; nothing; but some ideas in the above ticket</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 9, 2013 at 10:16 AM, Karel Piwko <span dir="ltr">&lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
during testing OpenShift cartridge for Unified Push Server, I've realized that<br>
if cartridge is idle, a request wakes it up and returns HTTP 302, so the<br>
original requests is not processed. The subsequent requests is processed fine,<br>
as expected.<br>
<br>
I'm wondering whether we should make this transparent to use client users or<br>
they would need to tread this on their own.<br>
<br>
Your thoughts?<br>
<br>
Karel<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>