Cross-platform, C implementation of the IETF QUIC protocol, exposed to C, C++, C# and Rust.
Перейти к файлу
Daiki AMINAKA 38861ea1e8
Uninitialize LossDetection earlier to cleanup Datagram frame (#4316)
* Uninitialize LossDetection earlier to cleanup pending Datagram before removeing client callback

* move shutdown event indication to the end of func

* add QuicDatagramSendShutdown

* check SendEnabled before touching ApiQueueLock

* Uninitialize ApiQueueLock later

* discard datagram if metadata allocation failed

* Renaming Datagram APIs

* move discard indication to QuicSentPacketPoolReturnPacketMetadata

* clear hander after ack
2024-05-23 05:18:43 -07:00
.azure Fix azure pipeline build for linux xdp (#4303) 2024-05-16 04:58:58 +00:00
.devcontainer Container based build workflow for Linux (#3760) 2023-07-16 07:53:53 -04:00
.docker fix libc6-dev-i386 to install cause of corruption (#4246) 2024-04-16 12:43:43 -07:00
.github Bump github/codeql-action from 2.13.4 to 3.25.5 (#4314) 2024-05-20 13:34:13 -04:00
cmake Build and sign arm/arm64 Onebranch pipeline for linux (#2987) 2022-08-17 07:28:14 -04:00
docs Fix broken build on Alpine (#4264) 2024-05-14 12:48:28 -04:00
scripts Fix broken build on Alpine (#4264) 2024-05-14 12:48:28 -04:00
src Uninitialize LossDetection earlier to cleanup Datagram frame (#4316) 2024-05-23 05:18:43 -07:00
submodules Bump submodules/googletest from `fa6de7f` to `33af80a` (#4315) 2024-05-20 13:34:34 -04:00
.CodeQL.yml CodeQL Classification (#4247) 2024-04-17 11:44:31 -04:00
.dockerignore update msquic to clog 0.4.0 (#2260) 2022-01-04 10:11:46 -05:00
.gitattributes Fix jpg image file 2021-01-17 09:02:54 -08:00
.gitignore Add DocFx Integration (#3833) 2023-09-19 16:48:18 -07:00
.gitmodules Submodule XDP (#3967) 2023-11-27 12:16:40 -05:00
.sscignore Update .sscignore (#3797) 2023-08-09 08:07:19 -04:00
CMakeLists.txt Fix broken build on Alpine (#4264) 2024-05-14 12:48:28 -04:00
CMakePresets.json Add CMake Presets file. (#3369) 2023-01-24 13:52:11 -05:00
Cargo.toml Update bitfield requirement from 0.14.0 to 0.15.0 (#4240) 2024-04-14 11:05:04 -04:00
LICENSE Normalize Line Endings (#384) 2020-05-12 19:08:05 -07:00
README.md Add documentation for getting started with the sample server-client app (#3985) 2023-12-05 16:32:34 -05:00
THIRD-PARTY-NOTICES Remove miTLS (#1398) 2021-03-29 17:21:54 -07:00
codecov.yml Configure Codecov to reduce noise (#3802) 2023-08-10 10:35:00 -07:00
msquic.kernel.sln Completely remove 32 bit windows kernel mode (#2462) 2022-03-09 08:10:16 -05:00
version.json Support Native Compiler in OneBranch Builds (#4217) 2024-03-29 14:16:57 -04:00

README.md

MsQuic logo

Documentation Perf Dashboard Build Status Test Status Stress Status codecov CodeQL CII Best Practices Discord crates.io nuget

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. MsQuic also has C++ API wrapper classes and exposes interop layers for both Rust and C#.

Protocol Features

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

  • All packets are encrypted and handshake is authenticated with TLS 1.3.
  • Parallel streams of (reliable and unreliable) application data.
  • Exchange application data in the first round trip (0-RTT).
  • Improved congestion control and loss recovery.
  • Survives a change in the clients IP address or port.
  • Stateless load balancing.
  • Easily extendable for new features and extensions.

Library Features

MsQuic has several features that differentiates it from other QUIC implementations:

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

Documentation

Contributing

For information on contributing, please see our contribution guidelines. Feel free to take a look at our Good First Issues list if you're looking for somewhere to start. If you'd just like to talk, come chat with us on Discord.