Giter Site home page Giter Site logo

body contains \u0000\n about stomp-js HOT 10 CLOSED

benjaminws avatar benjaminws commented on August 27, 2024
body contains \u0000\n

from stomp-js.

Comments (10)

benjaminws avatar benjaminws commented on August 27, 2024

I'll look into this today.

from stomp-js.

KimSchneider avatar KimSchneider commented on August 27, 2024

Don't spend too much time on it :)

After some more research, I am not sure if it is your STOMP library or the .NET JSON library that produces this overhead.

from stomp-js.

joshuarubin avatar joshuarubin commented on August 27, 2024

Here is the fix:

@@ -122,7 +123,7 @@ function _connect(stomp) {
         var parsed_frame = null;
         var _frame = null;
         while (_frame = frames.shift()) {
-            parsed_frame = parse_frame(_frame + '\0\n')
+            parsed_frame = parse_frame(_frame);
             stomp.handle_new_frame(parsed_frame);
         }

from stomp-js.

KimSchneider avatar KimSchneider commented on August 27, 2024

Guten Tag,

ich bin derzeit nicht im Büro. Ich kann Ihre Email deshalb nicht sofort beantworten. Ab dem 04. Juli bin ich wieder persönlich für Sie da.

Bei dringenden Problemen wenden Sie sich bitte an meine Vertretung:

Mit freundlichen Grüßen,
Kim Schneider

---- Gesetzliche Pflichtangaben
Krämer IT Solutions GmbH
Koßmannstraße 7
66571 Eppelborn

Registergericht: Amtsgericht Saarbrücken, HRB 14379
Geschäftsführer: Michael Krämer

from stomp-js.

benjaminws avatar benjaminws commented on August 27, 2024

lol @ OOO reply in german.

from stomp-js.

benjaminws avatar benjaminws commented on August 27, 2024

@joshuarubin I'll branch off of master and patch it. Then do you think you could test it?

from stomp-js.

joshuarubin avatar joshuarubin commented on August 27, 2024

sure thing

from stomp-js.

benjaminws avatar benjaminws commented on August 27, 2024

Applied the fix, can you pull, switch to fix-body and test it? Thanks!

from stomp-js.

joshuarubin avatar joshuarubin commented on August 27, 2024

yup, that looks good to me

from stomp-js.

KimSchneider avatar KimSchneider commented on August 27, 2024

Thanks for the fix!

And yes, I have been on vacation :D Did not know git posts my mails

from stomp-js.

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.