Hi,
I'm using RC0 of the Cometd JavaScript Implementation with the jQuery
binding, and I'm seeing something I don't understand.
Essentially, there is a 10 second delay between the initial handshake
and the client sending the initial subscribe message. What appears to
happen is that ...
a) Client sends Handshake
b) Server responds immediately
c) Client starts a long poll
d) Client calls subscribe(), but it's not sent
(10 seconds passes)
e) Server ends the long poll with null
f) Client sends the subscribe()
Once I'm subscribed, any messages sent with a long poll open are sent
immediately; i.e. using both of the available connections to the
server - but why doesn't this happen with the subscribe? Is there
something special about /meta/ channels which mean that they wait
until there's no long poll open?
FWIW, I'm not using a cometd server, and am happy to accept that it
may be a server bug, but from what I can tell (see above), the issue
appears to be with the client - or more likely my use of it.
Is there anything obvious I'm missing?
Thanks,
Greg