MsQuic
Developer(s) | Microsoft |
---|---|
Initial release | November 27, 2019 |
Stable release | v2.2.0
/ April 18, 2023 |
Repository | |
Written in | C, C++ |
Operating system | Windows 11 and later, Windows Server, Linux, Xbox Series X/S software |
Platform | Cross-platform |
Type | Software library |
License | MIT License |
MsQuic is a free and open source implementation of the IETF QUIC protocol written in C[1] that is officially supported on the Microsoft Windows (including Server), Linux, and Xbox platforms. The project also provides libraries for macOS and Android, which are unsupported.[2] It is designed to be a cross-platform general purpose QUIC library optimized for client and server applications benefitting from maximal throughput and minimal latency. By the end of 2021 the codebase had over 200,000 lines of production code, with 50,000 lines of "core" code,[3] sharable across platforms. The source code is licensed under MIT License and available on GitHub.[4]
Among its features are, in part, support for asynchronous IO, receive-side scaling (RSS), UDP send and receive coalescing, and connection migrations that persist connections between client and server to overcome client IP or port changes,[5] such as when moving throughout mobile networks.[6]
Both the HTTP/3[7] and SMB stacks[8] of Microsoft Windows leverage MsQuic, with msquic.sys
providing kernel-mode functionality. Being dependent upon Schannel for TLS 1.3, kernel mode therefore does not support 0-RTT.[9]
User-mode programs can implement MsQuic, with support 0-RTT, through msquic.dll
, which can be built from source code or downloaded as a shared library through binary releases on the repository.[9]
Its support for the Microsoft Game Development Kit makes MsQuic possible on both Xbox and Windows.
See also
References
- ^ Cimpanu, Catalin. "Microsoft open-sources in-house library for handling QUIC connections". ZDNet.
- ^ Jones, Luke (April 29, 2020). "Microsoft's In-House QUIC Connections Library is Now Open Source". WinBuzzer.
- ^ Banks, Nick (December 7, 2021). "QUIC @ Microsoft". EPIQ 2021. Retrieved July 11, 2022.
- ^ "microsoft/msquic". November 7, 2020 – via GitHub.
- ^ Lopes, Raul H. C.; Franqueira, Virginia N. L.; Rand, Duncan (2019). "Integration and Evaluation of QUIC and TCP-BBR in longhaul Science Data Transfers". EPJ Web of Conferences. 214: 08026. Bibcode:2019EPJWC.21408026L. doi:10.1051/epjconf/201921408026. S2CID 203699308.
- ^ "MsQuic Library Features". September 2020 – via GitHub.
- ^ Sharwood, Simon. "QUIC, dig in: Microsoft open-sources MsQuic, its implementation of Google-spawned TCP-killer QUIC". www.theregister.com.
- ^ "SMB over QUIC". Microsoft Docs. 18 May 2023.
- ^ a b msquic/Platforms.md, Microsoft, 2022-07-11, retrieved 2022-07-12