dotnet / dotnet/aspnetcore

Add protocol to "Now listening on" logged at startup

Open
#15,279 8 comments 6 reactions 0 assignees View on GitHub
affected-very-few area-networking enhancement Needs: Design severity-nice-to-have 🥌 Bedrock
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

On startup ASP.NET Core will log the addresses it is listening on. `http` vs `https` gives insight into whether the endpoint is secured with TLS. However there is no way to understand what protocols each endpoint supports. It would be useful when debugging connection errors to have an endpoint's protocol logged.

For example:
```console
Now listening on https://localhost:5000 (HTTP/1.1, HTTP/2)
Now listening on http://localhost:5001 (HTTP/2)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.