Get the latest tech news

Using HTTP/2 Cleartext for a server in Go 1.24


I'll give a brief outline of how to enable HTTP/2 cleartext (h2c) in a Go API server when you are using Go 1.24 or newer. This is useful in Cloud Run environments, which handles TLS termination but can take advantage of HTTP/2 features.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Server

Server

Photo of cleartext

cleartext

Related news:

News photo

Microsoft Surprises With Its First Server Linux Distribution: Azure Linux 4.0

News photo

Microsoft surprises with its first server Linux distribution: Azure Linux 4.0

News photo

Kioxia and Dell cram 10 PB into slim 2RU server