Search Results for

    Show / Hide Table of Contents

    Class Http3NativeBootstrap

    Ensures app-local MsQuic natives are visible to QuicListener on macOS framework-dependent hosts (typical Debug / dotnet run).

    Inheritance
    object
    Http3NativeBootstrap
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy.Http3
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public static class Http3NativeBootstrap
    Remarks

    On non-Windows, IsSupported loads MsQuic by leaf name only (libmsquic), not from BaseDirectory. Self-contained publishes place System.Net.Quic.dll next to the bundled dylibs so AssemblyDirectory search works. Framework-dependent builds keep Quic in the shared framework directory, so copying dylibs beside the app is not enough unless DYLD_FALLBACK_LIBRARY_PATH (or DYLD_LIBRARY_PATH) includes that folder — set before process start.

    Re-launch uses a child process. The parent must forward POSIX termination/reload signals to that child (and cancel the parent's default terminate) so kill -HUP <started-pid>, SIGTERM from a service manager, and Ctrl+C reach the process that actually runs the proxy.

    Methods

    | Edit this page View Source

    EnsureAppLocalMsQuicVisible(string[]?)

    When macOS app-local libmsquic.dylib is present but dyld cannot see it yet, re-launches the current process with DYLD_FALLBACK_LIBRARY_PATH pointing at BaseDirectory. No-ops on Windows/Linux, self-contained layouts, when natives are missing, or when the library path already includes the app directory.

    Declaration
    public static void EnsureAppLocalMsQuicVisible(string[]? args = null)
    Parameters
    Type Name Description
    string[] args

    Application arguments (as passed to Main), used when relaunching.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX