Quic 概念
Connection
(https://tools.ietf.org/html/draft-ietf-quic-transport-29#section-5)
Stream
(https://tools.ietf.org/html/draft-ietf-quic-transport-29#section-2)
stream分单向和双向。
不重用streamId
。
发送端支持的操作
- write data
- end the stream
- reset the stream
流的状态机
- 发送
- 接收