Giter VIP home page Giter VIP logo

Comments (4)

aalbericio avatar aalbericio commented on June 22, 2024 2

Hello Kum,

You were right: our middleware was sending the content lenght incorrectly.

Now it's fixed in our side and the only "input" for you is that version 4.0.8 had, somehow, an incorrect implementation.

Thanks again. I close this ticket.

from stompjs.

kum-deepak avatar kum-deepak commented on June 22, 2024

I think I have an idea why it is happening.

As per STOMP standards, the content-length is length in octets (https://stomp.github.io/stomp-specification-1.2.html#Header_content-length). The version 4.0.8 has incorrect implementation.

I noticed the content-length in your frame is character length.

To get over it, the broker should send length in octets or should not send the content-length header at all.

from stompjs.

aalbericio avatar aalbericio commented on June 22, 2024

Aha,

We will look into the broker's implementation and provide some feedback in this thread. We're testing the new beta4 version and were surprised on this issue since the 4.0.8 version was running just fine (at least for us).

Thanks for your quick response, again.

from stompjs.

kum-deepak avatar kum-deepak commented on June 22, 2024

In all previous versions frame parsing had multiple minor issues, which all together made it work for most regular use cases. However, there was no easy way to support binary content - which can have NULLs.

This was one of the main motivations for the new version.

from stompjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.