10 references to Constants
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\AddressBinder.cs (2)
177var httpDefault = ParseAddress(Constants.DefaultServerAddress, out _); 183context.Logger.LogDebug(CoreStrings.BindingToDefaultAddress, Constants.DefaultServerAddress);
Internal\Http\Http1Connection.cs (1)
1025var detail = errorBytes.GetAsciiStringEscaped(Constants.MaxExceptionDetailSize);
Internal\Http\Http1MessageBody.cs (1)
88_context.TimeoutControl.SetTimeout(Constants.RequestBodyDrainTimeout, TimeoutReason.RequestBodyDrain);
Internal\Http\HttpParser.cs (1)
354? headerLine.GetAsciiStringEscaped(Constants.MaxExceptionDetailSize)
Internal\Http\HttpProtocol.cs (4)
38private static readonly byte[] _bytesServer = Encoding.ASCII.GetBytes("\r\nServer: " + Constants.ServerName); 1277responseHeaders.SetRawServer(Constants.ServerName, _bytesServer); 1389responseHeaders.SetRawServer(Constants.ServerName, _bytesServer); 1425? target.GetAsciiStringEscaped(Constants.MaxExceptionDetailSize)
Internal\Http2\Http2Connection.cs (1)
1465stream.DrainExpirationTimestamp = TimeProvider.GetTimestamp(timestamp, Constants.RequestBodyDrainTimeout);