1 write to ServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
107ServerOptions = serverOptions,
26 references to ServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (26)
Internal\Http\Http1Connection.cs (1)
787if (_context.ServiceContext.ServerOptions.AllowHostHeaderOverride)
Internal\Http\HttpProtocol.cs (1)
90ServerOptions = ServiceContext.ServerOptions;
Internal\Http2\Http2Connection.cs (5)
158var httpLimits = context.ServiceContext.ServerOptions.Limits; 219public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 235var useException = _context.ServiceContext.ServerOptions.FinOnError || hasActiveStreams; 314var connectionWindow = _context.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize; 1615if (_totalParsedHeaderSize > _context.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
Internal\Http2\Http2FrameWriter.cs (1)
134_hpackEncoder = new DynamicHPackEncoder(serviceContext.ServerOptions.AllowResponseHeaderCompression);
Internal\Http3\Http3Connection.cs (11)
62var httpLimits = context.ServiceContext.ServerOptions.Limits; 66_serverSettings.EnableWebTransport = Convert.ToUInt32(context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams); 69_serverSettings.H3Datagram = Convert.ToUInt32(context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams); 71if (context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 96public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 259var requestHeadersTimeout = serviceContext.ServerOptions.Limits.RequestHeadersTimeout.ToTicks( 307var minDataRate = _context.ServiceContext.ServerOptions.Limits.MinResponseDataRate; 394if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 426if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 640Debug.Assert(_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams); 929Debug.Assert(_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams);
Internal\Http3\Http3ControlStream.cs (1)
50var httpLimits = context.ServiceContext.ServerOptions.Limits;
Internal\Http3\Http3Stream.cs (5)
91public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 131context.ServiceContext.ServerOptions.Limits.MinResponseDataRate, 145QPackDecoder = new QPackDecoder(_context.ServiceContext.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize); 880if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0) 1272if (!_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams)
Internal\KestrelServerImpl.cs (1)
115public KestrelServerOptions Options => ServiceContext.ServerOptions;