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)
654if (_context.ServiceContext.ServerOptions.AllowHostHeaderOverride)
Internal\Http\HttpProtocol.cs (1)
91ServerOptions = ServiceContext.ServerOptions;
Internal\Http2\Http2Connection.cs (5)
154var httpLimits = context.ServiceContext.ServerOptions.Limits; 215public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 231var useException = _context.ServiceContext.ServerOptions.FinOnError || hasActiveStreams; 310var connectionWindow = _context.ServiceContext.ServerOptions.Limits.Http2.InitialConnectionWindowSize; 1581if (_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; 392if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 424if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 625Debug.Assert(_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams); 918Debug.Assert(_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams);
Internal\Http3\Http3ControlStream.cs (1)
44var httpLimits = context.ServiceContext.ServerOptions.Limits;
Internal\Http3\Http3Stream.cs (5)
74public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 112context.ServiceContext.ServerOptions.Limits.MinResponseDataRate, 126QPackDecoder = new QPackDecoder(_context.ServiceContext.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize); 830if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0) 1216if (!_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams)
Internal\KestrelServerImpl.cs (1)
112public KestrelServerOptions Options => ServiceContext.ServerOptions;