-
Notifications
You must be signed in to change notification settings - Fork 312
IsLocal returns false when hosted through the TestServer #570
Comments
From @troydai on January 13, 2016 19:12 Thanks for reporting the issue. Can I know the implementation of the |
This us unrelated to Kestrel. I really want to remove the IsLocal property, it's misleading. |
From @fermaem on January 13, 2016 20:5 Thanks for the feedback.
@troydai @Tratcher Indeed this is
@Tratcher Any chance you could elaborate further on this? |
From @troydai on January 13, 2016 22:21 @fermaem this is not an actual Kestrel issue, since the For |
TestServer Could populate the ips and IsLocal, but with what? Loopbacks? |
@fermaem Since we know what cause this issue, I'd like to understand the impact before we come up any solution. In your usage of |
@troydai Thanks for asking. The initial requirements were:
We relied on |
Ah, we have a different recommendation for those scenarios: Environments. https://github.com/aspnet/Templates/blob/dev/src/BaseTemplates/StarterWeb/Startup.cs#L40-L47. |
@Tratcher Makes sense. Considering the requirements, Sorry for the noise and thanks a lot for the amazing support ❤️ |
@fermaem appreciate the feedback, too. |
From @fermaem on January 13, 2016 12:47
The following test fails when ran against rc2.
Is this considered as a bug? Wouldn't that be the case, could you please help me working around it (maybe through some additional test configuration setup)?
Below what the server returns
/cc @troydai (because of #284)
Copied from original issue: aspnet/KestrelHttpServer#576
The text was updated successfully, but these errors were encountered: