1 Star 0 Fork 8

风中云 / MsQuic

forked from Gitee 极速下载 / MsQuic 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

MsQuic

MsQuic is a Microsoft implementation of the IETF QUIC protocol. It is cross platform, written in C and designed to be a general purpose QUIC library.

Important The MsQuic library, as well as the protocol itself, is still a work in progress. Version 1 is not yet finalized and may continue to experience breaking changes until it is finalized.

Build Status Test Status Code Coverage

Protocol Features

QUIC has many benefits when compared to existing TLS over TCP scenarios:

  • Handshake authenticated with TLS 1.3
  • All packets are encrypted
  • Parallel streams of application data.
  • Improved (compared to TCP) congestion control and loss recovery.
  • Exchange application data in the first round trip (0-RTT).
  • Survives a change in the clients IP address or port.
  • Easily extendable for new features (such as unreliable delivery).

Important Several QUIC protocol features are not yet fully implemented:

  • 0-RTT
  • Client-side Migration
  • Server Preferred Address
  • Path MTU Discovery

Library Features

  • Cross-platform support.
  • Optimized for client and server.
  • Optimized for maximal throughput and minimal latency.
  • Asynchronous IO.
  • Receive side scaling (RSS).
  • UDP send and receive coalescing support.

Platform Support

MsQuic currently officially supports the following platform configurations. Information on support for MsQuic itself is located here.

Windows 10

On Windows 10, MsQuic relies on built-in support from Schannel for TLS 1.3 functionality. MsQuic is shipped in-box in the Windows kernel in the form of the msquic.sys driver, to support built-in HTTP and SMB features. User mode applications use msquic.dll (built from here) and package it with their app.

Important This configuration requires running the latest Windows Insider Preview Builds for Schannel's TLS 1.3 support.

Important This configuration does not support 0-RTT due to Schannel's current lack of support.

Linux

On Linux, MsQuic relies on OpenSSL for TLS 1.3 functionality.

Important This configuration relies on an outstanding pull request to OpenSSL master for QUIC/TLS support. It is still currently unknown as to when it will be merged into master. See here for more details.

Important This configuration does not support 0-RTT. Complete integration with OpenSSL is an ongoing effort.

Other

For testing or experimentation purposes, MsQuic may be built with other configurations, but they are not to be considered officially supported unless they are listed above. Any bugs found while using these configurations may be looked at, but no guarantees are provided that they will be fixed.

Documentation

  • For building the library, see the Build docs.
  • For using the library, see the API docs or the Sample.
  • For other frequently asked questions, see the FAQs.

Contributing

For information on contributing, please see our contribution guidlines.

Important - We are still bringing up important regression tests for the core code. Until they are onboarded, any external contributions to the core or kernel mode files in the platform will not be accepted. This is only a temporary restriction and we are working to complete it by the end of 2020.

Copyright (c) Microsoft Corporation. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

IETF QUIC 协议在微软的跨平台实现,旨在用作通用 QUIC 库 展开 收起
C/C++
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C/C++
1
https://gitee.com/dyuan/MsQuic.git
git@gitee.com:dyuan/MsQuic.git
dyuan
MsQuic
MsQuic
master

搜索帮助