26 references to Http2
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
InMemory.FunctionalTests (9)
Http2\TlsTests.cs (2)
45Assert.Equal(tlsFeature.ApplicationProtocol, SslApplicationProtocol.Http2.Protocol); 68ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2, SslApplicationProtocol.Http11 },
HttpsConnectionMiddlewareTests.cs (7)
937ApplicationProtocols = new() { SslApplicationProtocol.Http2, SslApplicationProtocol.Http11, }, 939Assert.Equal(SslApplicationProtocol.Http2, stream.NegotiatedApplicationProtocol); 970ApplicationProtocols = new() { SslApplicationProtocol.Http2, SslApplicationProtocol.Http11, }, 972Assert.Equal(SslApplicationProtocol.Http2, stream.NegotiatedApplicationProtocol); 1003ApplicationProtocols = new() { SslApplicationProtocol.Http2, SslApplicationProtocol.Http11, }, 1396ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http11, SslApplicationProtocol.Http2 }, 1404SslApplicationProtocol.Http2 :
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
100ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\TlsConnectionFeature.cs (1)
80|| _sslStream.NegotiatedApplicationProtocol == SslApplicationProtocol.Http2)
Middleware\HttpsConnectionMiddleware.cs (1)
364serverOptions.ApplicationProtocols.Add(SslApplicationProtocol.Http2);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
834ApplicationProtocols = new List<SslApplicationProtocol> { SslApplicationProtocol.Http2 },
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (2)
73Assert.True(SslApplicationProtocol.Http2.Protocol.Span.SequenceEqual(tlsFeature.ApplicationProtocol.Span), 101Assert.True(SslApplicationProtocol.Http2.Protocol.Span.SequenceEqual(tlsFeature.ApplicationProtocol.Span),
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
33private static readonly List<SslApplicationProtocol> s_http2ApplicationProtocols = new List<SslApplicationProtocol>() { SslApplicationProtocol.Http2, SslApplicationProtocol.Http11 }; 34private static readonly List<SslApplicationProtocol> s_http2OnlyApplicationProtocols = new List<SslApplicationProtocol>() { SslApplicationProtocol.Http2 };
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
194if (sslStream.NegotiatedApplicationProtocol == SslApplicationProtocol.Http2)
System.Net.Security (2)
System\Net\Security\SslConnectionInfo.cs (1)
10private static readonly byte[] s_http2 = SslApplicationProtocol.Http2.Protocol.ToArray();
System\Net\Security\TlsFrameHelper.cs (1)
707if (protocol.SequenceEqual(SslApplicationProtocol.Http2.Protocol.Span))