Comments (7)
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.
Thanks for reporting @nazar-pc.
Can you reference the concrete rust-yamux version and link to your code using rust-yamux?
from rust-yamux.
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.
Do you see the same error without:
yamux_config.set_receive_window_size(YAMUX_RECEIVING_WINDOW as u32);
from rust-yamux.
According to a single user's feedback issue disappeared once I removed it
from rust-yamux.
Note that without setting the configuration option, you are using the newer yamux
version, i.e. v0.13
:
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.
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)
- Detect if stream has ended on server side HOT 1
- add chunking in poll_write? HOT 1
- Use type state pattern HOT 4
- Simple client/server example blocks forever HOT 8
- Consider yielding early if we have filled buffers to some degree
- Track the accept backlog and add an upper limit HOT 3
- Re-write interface to buffer streams internally HOT 1
- Remove `futures::Stream` impl from `Stream`
- Remove `ControlledConnection` and everything around it
- Consider increasing `receive_window` default HOT 7
- Dropped `Stream`s are never removed until connection closes? HOT 1
- Refactor `stream::Shared` to use internal mutability
- Doc for v0.12.0 is outdated HOT 2
- refactor: replace `Chunks` with `BytesMut` HOT 2
- chore: remove `WindowUpdateMode::OnReceive` HOT 1
- What is the idiomatic way to create multiple streams? HOT 2
- `poll_new_outbound` without sending data results in no `inbound` stream HOT 2
- Is there any problem with my code and why it doesn't work HOT 5
- Missed EOF when reading from a stream and the FIN flag is received in a WindowUpdate frame
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-yamux.