-
Since the handling of E_JOIN_LISTEN_ACK is processed in a different thread than the one that starts the DataEventListener, it is possible that a call to PushletClient.joinListen will return before the E_JOIN_LISTEN_ACK branch executes to save the session ID. This can cause throwOnInvalidSession if the user calls PushletClient.subscribe immediately after PushletClient.joinListen.
Flow of...
2009-06-05 21:56:31 UTC by falcor1
-
justb committed patchset 339 of module pushlets to the Pushlets CVS repository, changing 1 files.
2009-06-04 12:46:35 UTC by justb
-
This feature request is related to my previous request with ID 1815809, I should have been more detailed before.
As stated in the previous request, my need is to handle additional event types in the DataEventListener's run method. The reason for having a protected startDataEventListener method is so that I could start my own version of the DataEventListener. At the moment I have to run what...
2009-06-01 22:27:49 UTC by falcor1
-
justb committed patchset 338 of module pushlets to the Pushlets CVS repository, changing 1 files.
2009-04-16 10:48:42 UTC by justb
-
justb committed patchset 337 of module pushlets to the Pushlets CVS repository, changing 1 files.
2009-04-15 21:22:56 UTC by justb
-
justb committed patchset 336 of module pushlets to the Pushlets CVS repository, changing 3 files.
2009-04-08 10:42:54 UTC by justb
-
justb committed patchset 335 of module pushlets to the Pushlets CVS repository, changing 1 files.
2009-04-08 10:28:00 UTC by justb
-
justb committed patchset 334 of module pushlets to the Pushlets CVS repository, changing 1 files.
2009-04-08 10:10:23 UTC by justb
-
example "Web Presentation2" webpres-student.html,
p_join->join-ack->p_listen->listen-ack->p_heartbeat->pushletNet.setControlURI(uri)->setControlURI: return 404 error;
here are the example:
GET /test.pushlet/pushlet.srv?p_event=join HTTP/1.1
GET /test.pushlet/pushlet.srv?p_id=pasinovelu&p_event=listen&p_subject=/webpres/cow HTTP/1.1
GET /pushlet.srv?p_event=hb&p_id=pasinovelu HTTP/1.1
you...
2008-05-21 11:53:01 UTC by nobody
-
In poll mode, when the event-queue is empty, the thread is blocked waiting for an event. This is not the expected behaviour of poll mode.
The problem seems to be located in Subscriber.fetchEvent() line 236: deQueueAll() is called with a zero value. Then dequeueAll(), call the wait method with this previous value, blocking the thread forever.
A quick (and dirt) workarround is to initialize...
2008-04-09 15:39:53 UTC by oligo