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