Giter Club home page Giter Club logo

Comments (5)

lukeed avatar lukeed commented on August 20, 2024

v2.0.5 does not include 66bf604 – I've not published a new version yet.

If you could paste in the most recent code from master & test it out, that'd be appreciated

from sockette.

raduciobanu22 avatar raduciobanu22 commented on August 20, 2024

Sure, give me a sec.

from sockette.

raduciobanu22 avatar raduciobanu22 commented on August 20, 2024

Problem still seems to be there.
This is the scenario:

  1. Open WS connection A.
  2. Close WS connection A.
  3. Open WS connection B.
  4. Close WS connection B.
  5. Open WS connection C.

Another interesting aspect is that calling close() does not trigger the onclose callback.
But after a while (10+ seconds) I am seeing that callback being triggered and the code is 1006. Right after that the connections that were previously closed are reopened one by one.

from sockette.

raduciobanu22 avatar raduciobanu22 commented on August 20, 2024

@lukeed Ignore my previous comment. The issue is fixed. It does not reconnect anymore after calling close(). The last part with the onclose callback being called with code 1006 is still there but the main issue is fixed.

from sockette.

lukeed avatar lukeed commented on August 20, 2024

Cool, thanks

I need a repro for the second half. Sounds like #29
Way too many variables involved. Servers can be acting up, the action you take on client side can be interpreted any number of ways, etc

from sockette.

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.