Git Product home page Git Product logo

msquic's Introduction

MsQuic for .NET

This repo contains sources for the MsQuic private transport package which lights up QUIC and HTTP/3 support in .NET.

The package is only intended for testing purposes, for the cases where official MsQuic package is not available.

Building

  • Clone the repo recursively (git clone --recursive) or run git submodule update --init --recursive to get all the submodules.
  • Run build.cmd

.NET Foundation

.NET Runtime is a .NET Foundation project.

msquic's People

Contributors

aaronrobinsonmsft avatar alexperovich avatar austinwise avatar carnaviire avatar dkurepa avatar dotnet-maestro[bot] avatar grabyourpitchforks avatar hoyosjs avatar jkotas avatar jonfortescue avatar manickap avatar mattgal avatar mmitche avatar richlander avatar rzikm avatar safern avatar scalablecory avatar stephentoub avatar terrajobst avatar viktorhofer avatar wfurt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

msquic's Issues

Build against lttng 2.13 fails

After a recent update of lttng-ust from 2.12 to 2.13 it's not possible to build msquic with logging on.
Build error (whole build.log attached):

[ 79%] Building CXX object src/tools/attack/CMakeFiles/quicattack.dir/attack.cpp.o
In file included from /usr/include/lttng/ust-utils.h:16,
                 from /usr/include/lttng/ust-tracer.h:14,
                 from /usr/include/lttng/tracepoint.h:21,
                 from /home/manicka/repositories/msquic/src/generated/linux/operation.h.clog.h:10,
                 from /home/manicka/repositories/msquic/src/core/operation.h:9,
                 from /home/manicka/repositories/msquic/src/core/precomp.h:55,
                 from /home/manicka/repositories/msquic/src/tools/attack/attack.cpp:14:
/usr/include/c++/11.1.0/type_traits:56:3: error: template with C linkage
   56 |   template<typename _Tp, _Tp __v>
      |   ^~~~~~~~
In file included from /home/manicka/repositories/msquic/src/tools/attack/attack.cpp:14:
/home/manicka/repositories/msquic/src/core/precomp.h:40:1: note: ‘extern "C"’ linkage started here
   40 | extern "C" {
      | ^~~~~~~~~~

Also sharing the lttng header files lttng-headers.tar.gz

I'm not blocked by this, I can downgrade and keep the older version. I just thought this might be something that would need to be solved in the future anyway.

cc: @wfurt

CRT is statically linked on Windows

msquic statically links the CRT on Windows. This is different from how CoreCLR (and other CoreCLR components) link the CRT - they link to UCRT dynamically.

This has three effects:

  • msquic.dll is likely a lot bigger than it needs to (we saw 200 kB savings when NativeAOT switched to UCRT a couple weeks back: dotnet/runtime#71182).
  • Bigger size means bigger working set impact.
  • Security fixes done to the CRT will not be automatically picked up when the OS is serviced

Cc @vitek-karas @sbomer @karelz @wfurt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.