https://github.com/frobware/h2s
Server for h2 and h2c h2spec testing
https://github.com/frobware/h2s
h2 h2c h2spec http2-server openshift-v4
Last synced: 2 months ago
JSON representation
Server for h2 and h2c h2spec testing
- Host: GitHub
- URL: https://github.com/frobware/h2s
- Owner: frobware
- License: mit
- Created: 2020-03-20T11:39:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T16:56:05.000Z (about 5 years ago)
- Last Synced: 2025-02-24T07:38:24.652Z (3 months ago)
- Topics: h2, h2c, h2spec, http2-server, openshift-v4
- Language: Shell
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# h2spec conformance test setup for OpenShift routes
Requires an OpenShift 4.4+ installation. Exposes a backend Go server
that supports H2 and H2C connections exposed via 3 TLS-enabled routes:
"edge", "passthrough" and "reencrypt".## Test Setup
$ oc apply -f https://github.com/frobware/h2s/raw/master/h2spec.yaml
## Verify routes exist
$ oc get routes
h2spec-goserver-edge h2spec-goserver-edge... h2spec-goserver 8080 edge/Redirect None
h2spec-goserver-passthrough h2spec-goserver-passthrough... h2spec-goserver 8443 passthrough/Redirect None
h2spec-goserver-reencrypt h2spec-goserver-reencrypt... h2spec-goserver 8443 reencrypt/Redirect None## Run h2spec conformane tests
Make sure the pods are running and the routes are exposed before
starting the tests.
$ ./test-route-type passthrough
$ ./test-route-type edge
$ ./test-route-type reencrypt## How does this work?
This experiments with some inline-Go to build and execute server.go on
the fly when the pod is launched... because $REASONS.