9 references to Constants
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\AddressBinder.cs (2)
155
var httpDefault = ParseAddress(
Constants
.DefaultServerAddress, out _);
161
context.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)
38
private static readonly byte[] _bytesServer = Encoding.ASCII.GetBytes("\r\nServer: " +
Constants
.ServerName);
1251
responseHeaders.SetRawServer(
Constants
.ServerName, _bytesServer);
1363
responseHeaders.SetRawServer(
Constants
.ServerName, _bytesServer);
1399
? target.GetAsciiStringEscaped(
Constants
.MaxExceptionDetailSize)
Internal\Http2\Http2Connection.cs (1)
1431
stream.DrainExpirationTimestamp = TimeProvider.GetTimestamp(timestamp,
Constants
.RequestBodyDrainTimeout);