timestamp-authority icon indicating copy to clipboard operation
timestamp-authority copied to clipboard

Add http2 support

Open hectorj2f opened this issue 3 years ago • 1 comments

Description

The server should be able to receive both http2 and http1 requests.

hectorj2f avatar Dec 01 '22 16:12 hectorj2f

Seems like a nice to have - Does the golang openapi generators have support for http2? http2 is also experimental currently in the core library (https://pkg.go.dev/golang.org/x/net/http2)

haydentherapper avatar Dec 01 '22 17:12 haydentherapper

if the server is configured with TLS, HTTP/2 will be turned on by default: https://github.com/sigstore/timestamp-authority/blob/aa628d33f589ed589fc54e8d77ff2853b677738f/pkg/generated/restapi/server.go#L370

supporting h2c seems pretty niche

bobcallaway avatar Mar 29 '25 13:03 bobcallaway