Comments (3)
Additional notes:
Why it happens only with partial-reliability (unreliable) channel?
This did not happen when I used a reliable channel. This is because the receiver does not receive Forward TSN chunks. (when maxRetrasmits or maxPacketLifetime values are small, Forward TSN is transmitted almost always. Due to the lack of delayed ack, the receiver side is spending extra time handling many Foward TSN chunks in addition to a bunch of DATA chunks, causing not being able to process DATA chunks as fast as they are sent by the sender. Theoretically, this could happen with a reliable data channel also.
from sctp.
Created a PR #38.
This did not resolve the "slow reader" case mentioned in #37. What's filling the packetio/buffer was actually the control chunks (Forward TSN), not the DATA chunk. However, counting rwnd using reassembly queues is the right thing to do.
The stalling problem is isolated and will be tracked in pion/ice#12.
I will get on #32 as soon as I can.
from sctp.
I am going to create another PR that includes delayed ack implementation. Closing this PR.
from sctp.
Related Issues (20)
- Documentation should be more clear about how to create a server HOT 5
- Endless buffering of outbound traffic when network is loaded HOT 14
- Implement Abort according to RFC 4960 HOT 1
- Data channels do not fully close when close initiated from Chrome
- panic in Association.handleCookieEcho HOT 1
- What is the difference with Linux SCTP? HOT 2
- Changing initialRecvBufSize causes datachannel to hang
- Dependency Dashboard
- SACK chunks followed by other chunks are incorrectly handled. HOT 1
- Datachannels have a great latency for poor network HOT 9
- SCTP throughput ~8x slower than TCP when the connection has latency HOT 15
- User Initiated Abort (cause code: 12) not handled HOT 3
- Remove the pending buffer after the data channel call close() by either side. HOT 12
- SCTP Streams have no SetReadDeadline
- Race in TestStreamClose introduced by the previous merge
- Potential regression by a commit c0159aa in causing `TestAssociation_Shutdown` to fail HOT 5
- Expose error definitions HOT 6
- SCTP support capabilities HOT 1
- Document planned / implemented RFCs in README
- Flaky tests and/or goroutine leaks HOT 8
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 sctp.