diff --git a/src/Microsoft.AspNet.Http.Abstractions/ConnectionInfo.cs b/src/Microsoft.AspNet.Http.Abstractions/ConnectionInfo.cs index 2d14071ebc..fdb908a6c6 100644 --- a/src/Microsoft.AspNet.Http.Abstractions/ConnectionInfo.cs +++ b/src/Microsoft.AspNet.Http.Abstractions/ConnectionInfo.cs @@ -18,8 +18,6 @@ namespace Microsoft.AspNet.Http public abstract int LocalPort { get; set; } - public abstract bool IsLocal { get; set; } - public abstract X509Certificate2 ClientCertificate { get; set; } public abstract Task GetClientCertificateAsync(CancellationToken cancellationToken = new CancellationToken()); diff --git a/src/Microsoft.AspNet.Http.Features/IHttpConnectionFeature.cs b/src/Microsoft.AspNet.Http.Features/IHttpConnectionFeature.cs index ef76d69815..5eca86f433 100644 --- a/src/Microsoft.AspNet.Http.Features/IHttpConnectionFeature.cs +++ b/src/Microsoft.AspNet.Http.Features/IHttpConnectionFeature.cs @@ -11,6 +11,5 @@ namespace Microsoft.AspNet.Http.Features IPAddress LocalIpAddress { get; set; } int RemotePort { get; set; } int LocalPort { get; set; } - bool IsLocal { get; set; } } } \ No newline at end of file diff --git a/src/Microsoft.AspNet.Http/DefaultConnectionInfo.cs b/src/Microsoft.AspNet.Http/DefaultConnectionInfo.cs index dd19f7d286..693755aeda 100644 --- a/src/Microsoft.AspNet.Http/DefaultConnectionInfo.cs +++ b/src/Microsoft.AspNet.Http/DefaultConnectionInfo.cs @@ -59,12 +59,6 @@ namespace Microsoft.AspNet.Http.Internal set { HttpConnectionFeature.LocalPort = value; } } - public override bool IsLocal - { - get { return HttpConnectionFeature.IsLocal; } - set { HttpConnectionFeature.IsLocal = value; } - } - public override X509Certificate2 ClientCertificate { get { return TlsConnectionFeature.ClientCertificate; } diff --git a/src/Microsoft.AspNet.Http/Features/HttpConnectionFeature.cs b/src/Microsoft.AspNet.Http/Features/HttpConnectionFeature.cs index 9f826d18c0..1988301e33 100644 --- a/src/Microsoft.AspNet.Http/Features/HttpConnectionFeature.cs +++ b/src/Microsoft.AspNet.Http/Features/HttpConnectionFeature.cs @@ -11,8 +11,6 @@ namespace Microsoft.AspNet.Http.Features.Internal { } - public bool IsLocal { get; set; } - public IPAddress LocalIpAddress { get; set; } public int LocalPort { get; set; } diff --git a/src/Microsoft.AspNet.Owin/OwinConstants.cs b/src/Microsoft.AspNet.Owin/OwinConstants.cs index 039209c098..beae948df8 100644 --- a/src/Microsoft.AspNet.Owin/OwinConstants.cs +++ b/src/Microsoft.AspNet.Owin/OwinConstants.cs @@ -73,7 +73,6 @@ namespace Microsoft.AspNet.Owin public const string RemotePort = "server.RemotePort"; public const string LocalIpAddress = "server.LocalIpAddress"; public const string LocalPort = "server.LocalPort"; - public const string IsLocal = "server.IsLocal"; public const string TraceOutput = "host.TraceOutput"; public const string Addresses = "host.Addresses"; public const string AppName = "host.AppName"; diff --git a/src/Microsoft.AspNet.Owin/OwinEnvironment.cs b/src/Microsoft.AspNet.Owin/OwinEnvironment.cs index 5e4db89d1a..3a66fa7749 100644 --- a/src/Microsoft.AspNet.Owin/OwinEnvironment.cs +++ b/src/Microsoft.AspNet.Owin/OwinEnvironment.cs @@ -84,8 +84,6 @@ namespace Microsoft.AspNet.Owin { OwinConstants.CommonKeys.RemoteIpAddress, new FeatureMap(feature => feature.RemoteIpAddress.ToString(), (feature, value) => feature.RemoteIpAddress = IPAddress.Parse(Convert.ToString(value))) }, - { OwinConstants.CommonKeys.IsLocal, new FeatureMap(feature => feature.IsLocal, (feature, value) => feature.IsLocal = Convert.ToBoolean(value)) }, - { OwinConstants.SendFiles.SendAsync, new FeatureMap(feature => new SendFileFunc(feature.SendFileAsync)) }, { OwinConstants.Security.User, new FeatureMap(feature => feature.User, diff --git a/src/Microsoft.AspNet.Owin/OwinFeatureCollection.cs b/src/Microsoft.AspNet.Owin/OwinFeatureCollection.cs index 1a1b5b183d..a8c7560819 100644 --- a/src/Microsoft.AspNet.Owin/OwinFeatureCollection.cs +++ b/src/Microsoft.AspNet.Owin/OwinFeatureCollection.cs @@ -190,12 +190,6 @@ namespace Microsoft.AspNet.Owin set { Prop(OwinConstants.CommonKeys.LocalPort, value.ToString(CultureInfo.InvariantCulture)); } } - bool IHttpConnectionFeature.IsLocal - { - get { return Prop(OwinConstants.CommonKeys.IsLocal); } - set { Prop(OwinConstants.CommonKeys.LocalPort, value); } - } - private bool SupportsSendFile { get