Coder Social home page Coder Social logo

A few memory leaks about websocketpp HOT 6 CLOSED

zaphoyd avatar zaphoyd commented on June 20, 2024
A few memory leaks

from websocketpp.

Comments (6)

zaphoyd avatar zaphoyd commented on June 20, 2024

which branch does do these refer to?

from websocketpp.

megabyte1024 avatar megabyte1024 commented on June 20, 2024

The master branch. Just realized that exists the policy-refactor branch and is far as I understood, it is a trunk branch now. Correct?

from websocketpp.

zaphoyd avatar zaphoyd commented on June 20, 2024

That is right. The policy refactor branch was unstable and feature incomplete for awhile so I worked on it separately from the old (but working) master branch. policy-refactor is largely done now and is just going through some final testing now before I merge it all back into master.

Regarding these errors in policy-refactor, the cyclic dependency between the endpoint/connection (previously server/session) was already resolved. I am working now on wrapping the io_service run, stop, reset calls to ensure that existing connections are cleaned up properly.

from websocketpp.

megabyte1024 avatar megabyte1024 commented on June 20, 2024

I see.. I think it possible to close the issue.

I downloaded the policy-refactor branch. Compiled the library under Windows. It was required to add new files and remove legacy ones. Surely the chat sample is not compilable, but the fuzzing_client is not compilable also. Is the fuzzing_client example possible to compile under Linux?

from websocketpp.

zaphoyd avatar zaphoyd commented on June 20, 2024

I only have only started bringing the older examples up to spec with policy-refactor in the last week or so. The following should definitely be current:

  • echo_server
  • echo_client
  • echo_server_tls
  • broadcast_server
  • broadcast_client

fuzzing client/server and chat client/server may not be running yet on the latest build. I'll check, if not they should be trivial to fix.

from websocketpp.

megabyte1024 avatar megabyte1024 commented on June 20, 2024

Thank you a lot. I will try to compile the these examples under Windows.

from websocketpp.

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.