GithubHelp home page GithubHelp logo

Comments (4)

188080501 avatar 188080501 commented on July 3, 2024

有可能发生这样的事情,所以reply里面增加了对this的空指针判断
但是目前的解决方案不是100%好用,也存在意外的情况

from jqhttpserver.

liulin188 avatar liulin188 commented on July 3, 2024

为什么要做超时销毁呢,不设置超时可否?

from jqhttpserver.

188080501 avatar 188080501 commented on July 3, 2024

socket必须做超时销毁,比如说30秒自动关闭。如果有需要可以自己调整下超时时间

from jqhttpserver.

188080501 avatar 188080501 commented on July 3, 2024

另外关于null的this,在这个库开发好到现在已经加了很多道判断,现在基本能保证跨线程时正常工作
另外socket提前关闭,且不发送任何数据时timer会存在不启动问题,进而导致session未销毁的情况,也已修复,那么此issues就先关闭了,如果有新情况请反馈,谢谢

from jqhttpserver.

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.