• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..28-Apr-2021-

.gitignoreH A D28-Apr-202182 76

DockerfileH A D28-Apr-20211 KiB3725

MakefileH A D28-Apr-20211.3 KiB3423

READMEH A D28-Apr-2021806 2015

deployment-prod.yamlH A D28-Apr-2021716 2928

go.modH A D28-Apr-2021331 1410

go.sumH A D28-Apr-20219.8 KiB102101

h2demo.goH A D28-Apr-202116.5 KiB564503

rootCA.keyH A D28-Apr-20211.6 KiB2827

rootCA.pemH A D28-Apr-20211.5 KiB2726

rootCA.srlH A D28-Apr-202117 21

server.crtH A D28-Apr-20211.2 KiB2120

server.keyH A D28-Apr-20211.6 KiB2827

service.yamlH A D28-Apr-2021291 1817

tmpl.goH A D28-Apr-202166.6 KiB1,9901,884

README

1This is a demo webserver that shows off Go's HTTP/2 support.
2
3It runs at https://http2.golang.org/ so people can hit our
4implementation with their HTTP/2 clients, etc. We intentionally do not
5run it behind any other HTTP implementation so clients (including
6people demonstrating attacks, etc) can hit our server directly. It
7just runs behind a TCP load balancer.
8
9When running locally, you'll need to click through TLS cert warnings.
10The dev cert was initially made like:
11
12Make CA:
13$ openssl genrsa -out rootCA.key 2048
14$ openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem
15
16Make cert:
17$ openssl genrsa -out server.key 2048
18$ openssl req -new -key server.key -out server.csr
19$ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500
20