Skip to content

Commit 655f9d0

Browse files
committed
API changes
Modified API to provide a C function pointer that can be used to stream arbitrary amounts of data back into the engine as a custom response. This eliminates the crazyness we were doing with allocating memory across API boundaries and relying on ownership transferral of raw pointers. This API change was a necessary step to enable mobility to other platforms and usage from other languages. Core DLL is no longer mixed-managed, it's pure C++ native code getting full love from the C++ compiler. Enabled SSE2 code generation for x86 targets. Enabled vectorization etc in build but who knows what we get out of the box just for switching that on. Enabled verbose vectorization reports on build. This is very noisy but helps us see if/where/when/how/whynot these opitmizations are/are not being applied. Single fully managed PInvoke library replaces both old C# libraries. Copied block page generation and associated content files into the test project. Hard coded a website in that I used to test the new custom response content stream API to stream in the block page. #yolo Left a bunch of stuff uncommented in the new C# library just because that's how I roll. Disabled host specific TLS contexts for now but did not remove/delete the code.
1 parent b0900d3 commit 655f9d0

42 files changed

Lines changed: 1599 additions & 2056 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ide/msvc/AssemblyInfo.cpp

Lines changed: 0 additions & 46 deletions
This file was deleted.

ide/msvc/FORCE_COPY/FORCE_COPY.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2828
<ConfigurationType>Application</ConfigurationType>
2929
<UseDebugLibraries>true</UseDebugLibraries>
30-
<PlatformToolset>v140</PlatformToolset>
30+
<PlatformToolset>v141</PlatformToolset>
3131
<CharacterSet>MultiByte</CharacterSet>
3232
</PropertyGroup>
3333
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3434
<ConfigurationType>Application</ConfigurationType>
3535
<UseDebugLibraries>false</UseDebugLibraries>
36-
<PlatformToolset>v140</PlatformToolset>
36+
<PlatformToolset>v141</PlatformToolset>
3737
<WholeProgramOptimization>true</WholeProgramOptimization>
3838
<CharacterSet>MultiByte</CharacterSet>
3939
</PropertyGroup>
4040
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4141
<ConfigurationType>Application</ConfigurationType>
4242
<UseDebugLibraries>true</UseDebugLibraries>
43-
<PlatformToolset>v140</PlatformToolset>
43+
<PlatformToolset>v141</PlatformToolset>
4444
<CharacterSet>MultiByte</CharacterSet>
4545
</PropertyGroup>
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4747
<ConfigurationType>Application</ConfigurationType>
4848
<UseDebugLibraries>false</UseDebugLibraries>
49-
<PlatformToolset>v140</PlatformToolset>
49+
<PlatformToolset>v141</PlatformToolset>
5050
<WholeProgramOptimization>true</WholeProgramOptimization>
5151
<CharacterSet>MultiByte</CharacterSet>
5252
</PropertyGroup>

ide/msvc/HttpFe.Common/Extensions/X509Extensions.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.

ide/msvc/HttpFe.Common/IHttpFilteringEngine.cs

Lines changed: 0 additions & 140 deletions
This file was deleted.

ide/msvc/HttpFe.Common/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

ide/msvc/HttpFe.Managed/HttpFe.Managed.csproj

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)