Skip to content

Commit db7f16c

Browse files
committed
Make SocketConnectionFactory internal for now
1 parent 72a2054 commit db7f16c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Servers/Kestrel/Transport.Sockets/src/Client/SocketConnectionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Client
1717
{
18-
public class SocketConnectionFactory : IConnectionFactory, IAsyncDisposable
18+
internal class SocketConnectionFactory : IConnectionFactory, IAsyncDisposable
1919
{
2020
private readonly SocketTransportOptions _options;
2121
private readonly MemoryPool<byte> _memoryPool;

src/Servers/Kestrel/Transport.Sockets/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
<Reference Include="Microsoft.Extensions.Options" />
2727
</ItemGroup>
2828

29+
<ItemGroup>
30+
<InternalsVisibleTo Include="http2cat" />
31+
</ItemGroup>
32+
2933
<ItemGroup>
3034
<EmbeddedResource Update="SocketsStrings.resx">
3135
<Generator></Generator>

src/Servers/Kestrel/samples/http2cat/http2cat.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
<TargetFramework>netcoreapp5.0</TargetFramework>
66
</PropertyGroup>
77

8-
<ItemGroup>
9-
<Compile Include="$(KestrelSharedSourceRoot)\DuplexPipe.cs" Link="Internal\DuplexPipe.cs" />
10-
</ItemGroup>
11-
128
<ItemGroup>
139
<Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" />
1410
<Reference Include="Microsoft.AspNetCore.Server.Kestrel.Core" />

0 commit comments

Comments
 (0)