-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-kestrelhelp candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool🥌 Bedrock
Milestone
Description
Describe the bug
When running the WebHost for an application, Kestrel outputs a list of Uri's that it's listening on. When using a custom ConnectionHandler with Kestrel which isn't http, it outputs the uri with an http scheme. You will see a line such as the following:
Now listening on: http://0.0.0.0:8808
To Reproduce
- Using Microsoft.AspNetCore.App version 2.2.0
- Add a custom ConnectionHandler for Kestrel to use with a unique listening endpoint
- Build IWebHost and call Run()
- See the previously mentioned console output showing the listening endpoint but with the http scheme
Expected behavior
The ideal thing would be to be able to specify the scheme as part of either the config or a virtual property on ConnectionHandler but that's new api and a feature request. Without new api, output the listening endpoint instead of a Uri. e.g.:
Now listening on: 0.0.0.0:8808
fubar-coder and npnelson
Metadata
Metadata
Assignees
Labels
affected-very-fewThis issue impacts very few customersThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-kestrelhelp candidateIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamIndicates that the issues may be a good fit for community to help with. Requires work from eng. teamseverity-nice-to-haveThis label is used by an internal toolThis label is used by an internal tool🥌 Bedrock