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

Delay config of listen options until server starts #1654

Closed
JunTaoLuo opened this issue Apr 11, 2017 · 3 comments
Closed

Delay config of listen options until server starts #1654

JunTaoLuo opened this issue Apr 11, 2017 · 3 comments

Comments

@JunTaoLuo
Copy link
Contributor

JunTaoLuo commented Apr 11, 2017

Currently ListenOptions are configured immediately when Listen is called. We should delay this until we have determined to use the ListenOptions or IServerAddressesFeature since we may be throwing away the configured endpoints in

. This could potentially help when configuring HTTPS for Kestrel, see #1290.

cc @glennc @danroth27 @muratg

@Tratcher
Copy link
Member

Scenario: Kestrel is configured for https with a cert file for development, but then the app is published to IIS and that cert is not needed/appropriate. Even running the app in IIS Express would fail today if the self-host cert was not present, which is unnecessary.

@Tratcher Tratcher removed this from the 2.0.0-preview1 milestone Apr 11, 2017
@muratg muratg added this to the Backlog milestone Apr 24, 2017
@Tratcher
Copy link
Member

@davidfowl
Copy link
Member

Yes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants