Git Product home page Git Product logo

Comments (7)

jfarcand avatar jfarcand commented on June 3, 2024

This issue only happens with GWT. I try reproducing using the atmosphere-chat and everything works fine.

from atmosphere-javascript.

gromozekas avatar gromozekas commented on June 3, 2024

The same issue happened for me on 2.1.0 and 2.0.7. Using enableProtocol and trackMessageSize flags.
I also using GWT

from atmosphere-javascript.

gromozekas avatar gromozekas commented on June 3, 2024

Looks like sync disconnection never get response from server until it kills the connection. I tried to add OnDisconnectInterceptor and it didn't help.

from atmosphere-javascript.

gromozekas avatar gromozekas commented on June 3, 2024

To reproduce issue easier you need to set up maxStreamingLength to 50K or 1MB instead of default and set up streaming transport. Unfortunatelly i didn't tried to reproduce the issue on examples.

Just tried to set disconnect request to async, however it brings another problem:
4 reconnections happens succesfully but messages from server becomes corrupted and I get exceptions:
"Uncaught Error: message length" in _trackMessageSize function

from atmosphere-javascript.

gromozekas avatar gromozekas commented on June 3, 2024

Here snap from YourKit Tomcat 7.0.42:

image

from atmosphere-javascript.

jfarcand avatar jfarcand commented on June 3, 2024

@gromozekas Please open another issue, this is not the same. Also, upgrade to Tomcat 7.0.47 and redo your tests as Tomcat .42 suffer many internal deadlock. If you are still able to reproduce, try to grab a thread dump with line number, will be easier for me to debug. Thanks!

from atmosphere-javascript.

jfarcand avatar jfarcand commented on June 3, 2024

Closed as fixed. Please re-open if you are still able to reproduce.

from atmosphere-javascript.

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.