зеркало из https://github.com/microsoft/msquic.git
1a32822791
* receive packet * populated the packet struct * added ACK frame sending * Initial ACK frame response sent * added handshake decryption * Completed handshake decryption * finshed processing handshake packet * fuzzed handshake packet and sent * fixed Read key not available bug * fixed a bug * Testing to see if pipelines passes * pop packet when decryption fail * minor change * only free packet after we are done processing * attempt to fix the pipeline * packet copy is sent * recv event modified * zeroed out send buffer * minor change * minor * free packet event * redefined few variables to fix memory leak * minor change * fixed recv datagram bug * attempt to fix the pipeline * test * added few checks * minor change * minor change * debug statement * some debug statements for the pipeling * minor change * Few fixes * minor * added allocated check * chain processing changed * cleaned up code * minor change * minor change * minor change * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * minor code cleanups: * mode changes * minor * made initial packet and handshake packet fuzzing work together * minor change * debug * minor change * minor change * minor change * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * minor change * few cxplatevent changes * few minor changes * handle failure * minor * few minor things * delete state buffer after every iteration * minor * minor * test change * minor change * minor change * added startms * added result flag * cleanup code and few debug statements * cleanup * Made packet as stack variable * reverted change * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * resolved comments * fixed potential memory leak * Update src/tools/recvfuzz/recvfuzz.cpp Co-authored-by: Nick Banks <nibanks@microsoft.com> * resolved comments * New handshake each iteration * removed unnecessary comment * minor change * minor change * Some modifications * fixed memory leaks * minor change * freed up send data * revert * revert * minor change * minor changes * test * add free send data * rest * modified implementation * minor change * few optimisations * attempt to fix * added ASAN option * resolved comments * minor refactoring * minor change --------- Co-authored-by: Nick Banks <nibanks@microsoft.com> |
||
---|---|---|
.azure | ||
.devcontainer | ||
.docker | ||
.github | ||
cmake | ||
docs | ||
scripts | ||
src | ||
submodules | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.sscignore | ||
CMakeLists.txt | ||
CMakePresets.json | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
THIRD-PARTY-NOTICES | ||
codecov.yml | ||
msquic.kernel.sln |
README.md
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
- For platform support details, see the Platforms docs.
- For release details, see the Release docs.
- For performance data, see the Performance dashboard.
- For building the library, see the Build docs.
- For testing the library, see the Testing docs.
- For using the API, see the API docs or the Sample.
- For running a sample server and client app, see the Quick Start Guide.
- For deploying QUIC, see the Deployment docs.
- For diagnosing issues, see the Diagnostics docs and the Trouble Shooting Guide.
- For other frequently asked questions, see the FAQs.
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.