mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix(livestreamassist): migrate WebSocket API to Kestrel
Replace Fleck with pinned in-process Kestrel packages and explicit runtime packaging. Fix connection lifetimes, deadlines, admission accounting, and reflection validation. Add production transport regressions and update the migration guidance with remaining Unity/LAN acceptance gates.
This commit is contained in:
1 parent
94254b8c28
commit
e95c832e03
20 files changed
+3098
-480
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AssemblyName>WebSocketTransportCheck</AssemblyName>
|
||||
<RootNamespace>WebSocketTransportCheck</RootNamespace>
|
||||
<BepInExPluginGuid>org.soardev.livestreamassist.transportcheck</BepInExPluginGuid>
|
||||
<PackPreloaderTargetDir>none</PackPreloaderTargetDir>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\LiveStreamAssist.csproj" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
</ItemGroup>
|
||||
<!-- Desktop checks need the CLR's 2.0 facade for Kestrel, not Unity's Mono 2.1 type forwarders. -->
|
||||
<Target Name="KeepRuntimeSpecificFacades" BeforeTargets="GenerateBindingRedirects">
|
||||
<ItemGroup>
|
||||
<SuggestedBindingRedirects Remove="netstandard,*" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Target Name="CopyGameFacades" AfterTargets="Build">
|
||||
<Copy SourceFiles="@(ReferencePath)" DestinationFolder="$(TargetDir)"
|
||||
Condition="'%(ReferencePath.Filename)' == 'BepInEx'" />
|
||||
<Exec Command="powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$(MSBuildThisFileDirectory)..\ReflectionReaderCheck\Copy-GameFacades.ps1" -TargetDir "$(TargetDir)."" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in new issue
Block a user