9 references to Constants
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\AddressBinder.cs (2)
155var httpDefault = ParseAddress(Constants.DefaultServerAddress, out _); 161context.Logger.LogDebug(CoreStrings.BindingToDefaultAddress, Constants.DefaultServerAddress);
Internal\Http\Http1MessageBody.cs (1)
86_context.TimeoutControl.SetTimeout(Constants.RequestBodyDrainTimeout, TimeoutReason.RequestBodyDrain);
Internal\Http\HttpParser.cs (1)
600? headerLine.GetAsciiStringEscaped(Constants.MaxExceptionDetailSize)
Internal\Http\HttpProtocol.cs (4)
38private static readonly byte[] _bytesServer = Encoding.ASCII.GetBytes("\r\nServer: " + Constants.ServerName); 1251responseHeaders.SetRawServer(Constants.ServerName, _bytesServer); 1363responseHeaders.SetRawServer(Constants.ServerName, _bytesServer); 1399? target.GetAsciiStringEscaped(Constants.MaxExceptionDetailSize)
Internal\Http2\Http2Connection.cs (1)
1431stream.DrainExpirationTimestamp = TimeProvider.GetTimestamp(timestamp, Constants.RequestBodyDrainTimeout);