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