minq项目的主旨是minimum quic(最小化实现的QUIC),指最简单的QUIC项目,目前只实现了IETF QUIC的draft 5部分功能,远不成熟,不能用于生产环境。
它内部依赖LTS 1.3的go开源实现项目mint
https://github.com/bifurcation/mint
下面开始安装
cd ${GOPATH}/src
go get github.com/ekr/minq
cd github.com/bifurcation/mint
cd ../../ekr/minq
go test

更详细一点的交互信息

继续进行测试
go run minq/bin/server/main.go
测试中发现,cs之间的交互有一点的超时时间,如果嫌时间短,可以设置心跳间隔


参考文献
[1].https://github.com/ekr/minq
[2].https://github.com/bifurcation/mint