HTTP streaming comet client

Thanks for the suggestion. Yes I believe the principle is similar.

I’ve tried to grab the reader code from https://github.com/r3labs/sse, and the result is the same: “Read Error:unexpected EOF” Whatever reader or method I use, I received the same error when the 2nd message is sent. So I believe my issue is in lower level.

For reference, here is the doc about comet/bayeux protocol: https://docs.cometd.org/current/reference/#_concepts_bayeux_protocol

2 Likes