Skip to content

Conversation

amcasey
Copy link
Member

@amcasey amcasey commented Jan 27, 2023

...so that it can occur after IConfiguration is read. (In particular, so that it occurs during AddressBinder.BindAsync which happens strictly after KestrelConfigurationLoader.Load.) This is important in Docker scenarios since the Docker tools use IConfiguration to tell us where the dev cert directory is mounted.

Fixes #45801

@ghost ghost added the area-runtime label Jan 27, 2023
@amcasey amcasey marked this pull request as ready for review February 3, 2023 18:36
@amcasey amcasey requested a review from halter73 February 7, 2023 00:22
@ghost
Copy link

ghost commented Feb 14, 2023

Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.
To make sure no breaking changes are introduced, please remove the pending ci rerun label to kick off a new CI run.

@ghost ghost added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 14, 2023
@amcasey
Copy link
Member Author

amcasey commented Feb 16, 2023

Force-push is a trivial rebase. Feedback to be addressed shortly.

@amcasey amcasey removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 22, 2023
@ghost
Copy link

ghost commented Feb 22, 2023

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 46296 in repo dotnet/aspnetcore

@amcasey amcasey merged commit 303115a into dotnet:main Feb 22, 2023
@amcasey amcasey deleted the GH45801 branch February 22, 2023 18:44
@ghost ghost added this to the 8.0-preview2 milestone Feb 22, 2023
amcasey added a commit to amcasey/aspnetcore that referenced this pull request Feb 24, 2023
This reverts commit 303115a.

Changing the order in which various certificate loading operations are performed broke dotnet-monitor.

dotnet/dotnet-docker#4448 (comment)
amcasey added a commit that referenced this pull request Feb 24, 2023
…6868)

This reverts commit 303115a.

Changing the order in which various certificate loading operations are performed broke dotnet-monitor.

dotnet/dotnet-docker#4448 (comment)
amcasey added a commit to amcasey/aspnetcore that referenced this pull request May 3, 2023
...so that it can occur after IConfiguration is read. (In particular, so that it occurs during AddressBinder.BindAsync which happens strictly after KestrelConfigurationLoader.Load.) This is important in Docker scenarios since the Docker tools use IConfiguration to tell us where the dev cert directory is mounted.# with '#' will be ignored, and an empty message aborts the commit.

Was dotnet#46296
Fixes dotnet#45801
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kestrel config behaves differently when set using env vars vs. in-code
3 participants