Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 4a6b323

Browse files
committed
Removed IsLocal from ConnectionInfo
1 parent 129a5ad commit 4a6b323

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Microsoft.AspNet.Server.Kestrel.FunctionalTests/RequestTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ await context.Response.WriteAsync(JsonConvert.SerializeObject(new
145145
RemoteIPAddress = connection.RemoteIpAddress?.ToString(),
146146
RemotePort = connection.RemotePort,
147147
LocalIPAddress = connection.LocalIpAddress?.ToString(),
148-
LocalPort = connection.LocalPort,
149-
IsLocal = connection.IsLocal
148+
LocalPort = connection.LocalPort
150149
}));
151150
});
152151
});
@@ -165,7 +164,6 @@ await context.Response.WriteAsync(JsonConvert.SerializeObject(new
165164
var facts = JsonConvert.DeserializeObject<JObject>(connectionFacts);
166165
Assert.Equal(expectAddress, facts["RemoteIPAddress"].Value<string>());
167166
Assert.NotEmpty(facts["RemotePort"].Value<string>());
168-
Assert.True(facts["IsLocal"].Value<bool>());
169167
}
170168
}
171169
}

0 commit comments

Comments
 (0)