10 references to Constants
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\AddressBinder.cs (2)
177
var httpDefault = ParseAddress(
Constants
.DefaultServerAddress, out _);
183
context.Logger.LogDebug(CoreStrings.BindingToDefaultAddress,
Constants
.DefaultServerAddress);
Internal\Http\Http1Connection.cs (1)
1025
var 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)
38
private static readonly byte[] _bytesServer = Encoding.ASCII.GetBytes("\r\nServer: " +
Constants
.ServerName);
1277
responseHeaders.SetRawServer(
Constants
.ServerName, _bytesServer);
1389
responseHeaders.SetRawServer(
Constants
.ServerName, _bytesServer);
1425
? target.GetAsciiStringEscaped(
Constants
.MaxExceptionDetailSize)
Internal\Http2\Http2Connection.cs (1)
1465
stream.DrainExpirationTimestamp = TimeProvider.GetTimestamp(timestamp,
Constants
.RequestBodyDrainTimeout);