Skip to content

Fail on startup for Http/2 HTTPS on Mac #11061

@Tratcher

Description

@Tratcher

Mac doesn't support ALPN: https://github.com/dotnet/corefx/issues/33016

In 3.0 HTTPS and HTTP/2 (and HTTP/1) are enabled by default. The GRPC template is going to disable HTTP/1. HTTP/2 per spec requires ALPN when used over HTTPS. Today this fails per request and you have to dig into the server logs for the error.

Proposal: Check for HTTPS + HTTP/2-only on Mac at startup and fail early.

@shirhatti @JunTaoLuo

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.feature-kestrel

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions