stomp-js icon indicating copy to clipboard operation
stomp-js copied to clipboard

Partial messages in ondata event being processed as completed

Open pedromarce opened this issue 11 years ago • 3 comments

Hi,

I am a bit surprised that this is not working and I am wondering if it is me doing something wrong.

Problem is when receiving a large message (plain/text), information is processed and the Frame is created even if the message is not completed (the socket would have had received eventually all information as I have checked) but in the first data event is processed without contemplating the case of not being complete.

Is this some sort of configuration issue, or is it just not coded at the moment?

If it is the second case I would probably give it a go to try to fix it.

Regards,

pedromarce avatar Dec 09 '13 16:12 pedromarce

I am also having this issue. Have you found a fix for this?

keeneym avatar Jul 02 '14 21:07 keeneym

No, sorry, I finally moved to stomp-client library that was working fine.

https://github.com/easternbloc/node-stomp-client

pedromarce avatar Jul 02 '14 22:07 pedromarce

Thanks for the quick response. I'll check it out.

keeneym avatar Jul 03 '14 13:07 keeneym