1 write to ServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
107
ServerOptions
= serverOptions,
27 references to ServerOptions
Microsoft.AspNetCore.Server.Kestrel.Core (27)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
348
var reject = !_context.ServiceContext.
ServerOptions
.EnableChunkedExtensions;
Internal\Http\Http1Connection.cs (1)
841
if (_context.ServiceContext.
ServerOptions
.AllowHostHeaderOverride)
Internal\Http\HttpProtocol.cs (1)
90
ServerOptions = ServiceContext.
ServerOptions
;
Internal\Http2\Http2Connection.cs (5)
158
var httpLimits = context.ServiceContext.
ServerOptions
.Limits;
219
public KestrelServerLimits Limits => _context.ServiceContext.
ServerOptions
.Limits;
235
var useException = _context.ServiceContext.
ServerOptions
.FinOnError || hasActiveStreams;
314
var connectionWindow = _context.ServiceContext.
ServerOptions
.Limits.Http2.InitialConnectionWindowSize;
1615
if (_totalParsedHeaderSize > _context.ServiceContext.
ServerOptions
.Limits.MaxRequestHeadersTotalSize * 2)
Internal\Http2\Http2FrameWriter.cs (1)
134
_hpackEncoder = new DynamicHPackEncoder(serviceContext.
ServerOptions
.AllowResponseHeaderCompression);
Internal\Http3\Http3Connection.cs (11)
74
var httpLimits = context.ServiceContext.
ServerOptions
.Limits;
78
_serverSettings.EnableWebTransport = Convert.ToUInt32(context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams);
81
_serverSettings.H3Datagram = Convert.ToUInt32(context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams);
83
if (context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams)
108
public KestrelServerLimits Limits => _context.ServiceContext.
ServerOptions
.Limits;
271
var requestHeadersTimeout = serviceContext.
ServerOptions
.Limits.RequestHeadersTimeout.ToTicks(
319
var minDataRate = _context.ServiceContext.
ServerOptions
.Limits.MinResponseDataRate;
406
if (_context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams)
438
if (_context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams)
652
Debug.Assert(_context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams);
941
Debug.Assert(_context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams);
Internal\Http3\Http3ControlStream.cs (1)
50
var httpLimits = context.ServiceContext.
ServerOptions
.Limits;
Internal\Http3\Http3Stream.cs (5)
96
public KestrelServerLimits Limits => _context.ServiceContext.
ServerOptions
.Limits;
137
context.ServiceContext.
ServerOptions
.Limits.MinResponseDataRate,
151
QPackDecoder = new QPackDecoder(_context.ServiceContext.
ServerOptions
.Limits.Http3.MaxRequestHeaderFieldSize);
920
if (_context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0)
1322
if (!_context.ServiceContext.
ServerOptions
.EnableWebTransportAndH3Datagrams)
Internal\KestrelServerImpl.cs (1)
115
public KestrelServerOptions Options => ServiceContext.
ServerOptions
;