mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: Network congestion can be controlled without packet loss if explicit congestion notification messages are understood. Modifications: Receive single and vector paths to get notification and surface. Send paths for both single and vector sends. Round trip tests. Storage for control messages added in a reusable way. I have tested allocations and they seem to be fine but the allocation tests for vector read and write were not stable enough to sensibly add to CI. Result: Explicit Congestion Notifications can be both sent and received.