Http1AndHttp2 without TLS/SSL
Open
area-networking
enhancement
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
Allow Kestrel to run Http1AndHttp2 over TCP without TLS/SSL.
Use case. Running Kestrel behind a TLS termination load balancer/router.
### Describe the solution you'd like
https://github.com/dotnet/aspnetcore/blob/main/src/Servers/Kestrel/Core/src/Internal/KestrelServerImpl.cs:164 should not just check for hasTls.
Possibly check for a flag indicating that, yes, I know that normally Http/2 will not be negotiated without TLS/SSL ALPN.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.