Open netvipe opened 4 years ago
which protocol version are you using, 1 or 2?
if we've reached the bandwidth limit,then:
I'm using version 1.
It's not only that the buffer is full, the whole connection state becomes undefined. The client role return status IsClosed = false even though the peer and underlying transport is fully disconnected.
I'll try with version 2. Let's see how it behaves under my traffic conditions.
Tested the following:
Adaptive peer window makes the difference. I'll test a bit more with version 2.
Many thanks!
smux starts blocking/dropping segments when under heavy load. When forwarding rate is below my link rate (>100 Mbps) everything is fine. Once the rate goes above 100 Mbps, smux starts to block exisitng and new streams. This applies to client and to server role.
I've spent too much time with tracing and debugging my code and finally decided to switch back to yamux. Problem disappeared immediatelly.
Please support.