1 write to ServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
104ServerOptions = serverOptions,
26 references to ServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (26)
Internal\Http\Http1Connection.cs (1)
636if (_context.ServiceContext.ServerOptions.AllowHostHeaderOverride)
Internal\Http\HttpProtocol.cs (1)
84ServerOptions = ServiceContext.ServerOptions;
Internal\Http2\Http2Connection.cs (5)
136var httpLimits = context.ServiceContext.ServerOptions.Limits; 196public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 208var useException = _context.ServiceContext.ServerOptions.FinOnError || _clientActiveStreamCount != 0; 271var connectionWindow = _context.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize; 1495if (_totalParsedHeaderSize > _context.ServiceContext.ServerOptions.Limits.MaxRequestHeadersTotalSize * 2)
Internal\Http2\Http2FrameWriter.cs (1)
114_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; 253var requestHeadersTimeout = serviceContext.ServerOptions.Limits.RequestHeadersTimeout.ToTicks( 301var minDataRate = _context.ServiceContext.ServerOptions.Limits.MinResponseDataRate; 385if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 417if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 605Debug.Assert(_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams); 898Debug.Assert(_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams);
Internal\Http3\Http3ControlStream.cs (1)
44var httpLimits = context.ServiceContext.ServerOptions.Limits;
Internal\Http3\Http3Stream.cs (5)
73public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 111context.ServiceContext.ServerOptions.Limits.MinResponseDataRate, 125QPackDecoder = new QPackDecoder(_context.ServiceContext.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize); 827if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0) 1205if (!_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams)
Internal\KestrelServerImpl.cs (1)
112public KestrelServerOptions Options => ServiceContext.ServerOptions;