Code Monkey home page Code Monkey logo

Comments (7)

nazar-pc avatar nazar-pc commented on August 11, 2024 1

Will give it a try, but since I don't see it myself will have to ask users to test a custom build without it. The default seems unnecessarily large though.

from rust-yamux.

mxinden avatar mxinden commented on August 11, 2024

Thanks for reporting @nazar-pc.

Can you reference the concrete rust-yamux version and link to your code using rust-yamux?

from rust-yamux.

nazar-pc avatar nazar-pc commented on August 11, 2024

We're using yamux 0.13.2 through libp2p-yamux 0.45.1, both of them are releases on crates.io, here is the configuration of it: https://github.com/subspace/subspace/blob/d159452bf4cd480837770d83c4f0cab3a28da048/crates/subspace-networking/src/constructor.rs#L306-L310

from rust-yamux.

mxinden avatar mxinden commented on August 11, 2024

Do you see the same error without:

        yamux_config.set_receive_window_size(YAMUX_RECEIVING_WINDOW as u32);

from rust-yamux.

nazar-pc avatar nazar-pc commented on August 11, 2024

According to a single user's feedback issue disappeared once I removed it

from rust-yamux.

mxinden avatar mxinden commented on August 11, 2024

Note that without setting the configuration option, you are using the newer yamux version, i.e. v0.13:

https://github.com/libp2p/rust-libp2p/blob/a8888a7978f08ec9b8762207bf166193bf312b94/muxers/yamux/src/lib.rs#L339-L351

With v0.13 the buffer limit is managed at the connection level, no longer at the stream level.

In other words, the fact that users no longer see the log line when removing the configuration set_receive_window_size, hints at the bug being in v0.12 and not in v0.13.

from rust-yamux.

nazar-pc avatar nazar-pc commented on August 11, 2024

Hm... but we are not setting options to fall back to 0.12 🤔 Can 0.12 on the other end of the connection cause this?

from rust-yamux.

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.