h2demo

command
v0.0.0-...-0df1a92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: GPL-3.0 Imports: 26 Imported by: 0

README

This is a demo webserver that shows off Go's HTTP/2 support.

It runs at https://http2.golang.org/ so people can hit our
implementation with their HTTP/2 clients, etc. We intentionally do not
run it behind any other HTTP implementation so clients (including
people demonstrating attacks, etc) can hit our server directly. It
just runs behind a TCP load balancer.

When running locally, you'll need to click through TLS cert warnings.
The dev cert was initially made like:

Make CA:
$ openssl genrsa -out rootCA.key 2048
$ openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem

Make cert:
$ openssl genrsa -out server.key 2048
$ openssl req -new -key server.key -out server.csr
$ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL