-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/network: improve support for clients lacking ALPN
We've seen a few legacy clients that don't support HTTP/2 or ALPN negotiation. Improve the connector networking frontend to support HTTP/1.1 transports for clients that don't support HTTP/2, or don't support ALPN at all, while still preferring HTTP/2 where possible. In particular, this lets connector networking work seamlessly with NodeJS clients that are using the old "https" NodeJS module instead of the newer "http2" module. This is less performant than HTTP/2, but metrics can indicate which tasks are using large numbers of user connections / TLS handshakes.
- Loading branch information
1 parent
dfc5b27
commit 8831666
Showing
2 changed files
with
87 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters