You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A rough outline of how a QUIC swift-nio pipeline could be structured...
General Pipeline Configuration
When the ConnectionMuxer instantiates a new Connection Pipeline it adds aStateHandler with the necessary Connection info. The StateHandler, once added to the pipeline, synchronously instantiates and adds a PacketProtectorHandler and an ACKHandler in front of itself in the pipeline. It also synchronously instantiates and adds a NIOSSLHandler behind itself in the pipeline. It then proceeds to send Crypto Frames along the pipeline into the NIOSSLHandler until the TLS Handshake has completed. At which point the StateHandler installs the StreamMuxerHandler and begins forwarding Stream Frames downstream as well. All other Frames are consumed by the StateHandler.
Updates
June 18th, 2023
The StateHandler (when added to the pipeline) installs the PacketProtectorHandler and ACKHandler in front of (before) itself as opposed to after itself in the original design / diagram.
Let's discuss! 💬
Please comment below with any questions, concerns, ideas, improvements, etc
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
A rough outline of how a QUIC
swift-nio
pipeline could be structured...General Pipeline Configuration
When the
ConnectionMuxer
instantiates a new Connection Pipeline it adds aStateHandler
with the necessary Connection info. TheStateHandler
, once added to the pipeline, synchronously instantiates and adds aPacketProtectorHandler
and anACKHandler
in front of itself in the pipeline. It also synchronously instantiates and adds aNIOSSLHandler
behind itself in the pipeline. It then proceeds to send Crypto Frames along the pipeline into theNIOSSLHandler
until the TLS Handshake has completed. At which point theStateHandler
installs theStreamMuxerHandler
and begins forwarding Stream Frames downstream as well. All other Frames are consumed by theStateHandler
.Updates
June 18th, 2023
The
StateHandler
(when added to the pipeline) installs thePacketProtectorHandler
andACKHandler
in front of (before) itself as opposed to after itself in the original design / diagram.Let's discuss! 💬
Please comment below with any questions, concerns, ideas, improvements, etc
Beta Was this translation helpful? Give feedback.
All reactions