https://github.com/summerwind/h2a
Debugging reverse proxy for HTTP/2 developers
https://github.com/summerwind/h2a
Last synced: about 2 months ago
JSON representation
Debugging reverse proxy for HTTP/2 developers
- Host: GitHub
- URL: https://github.com/summerwind/h2a
- Owner: summerwind
- License: mit
- Created: 2015-12-14T13:10:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-23T06:50:29.000Z (about 9 years ago)
- Last Synced: 2025-03-29T00:08:08.940Z (2 months ago)
- Language: Go
- Size: 39.1 KB
- Stars: 66
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-http2 - h2a - Debugging reverse proxy for HTTP/2 developers (Categories / Command Line Tools)
README
# h2a
**h2a** is a debugging reverse proxy for HTTP/2 developers.
This can be a great tool to dump h2 frames between client and server.## Install
Go to the [releases page](https://github.com/summerwind/h2a/releases), find the version you want, and download the zip file.
## Build
1. Make sure you have Go 1.5 and set GOPATH appropriately
2. Run `go get github.com/summerwind/h2a`It is also possible to build specific version.
1. Make sure you have Go 1.5 and set GOPATH appropriately
2. Run `go get gopkg.in/summerwind/h2a.v1`## Usage
```
Usage: h2a [OPTIONS]Options:
-p: Port (Default: 443)
-i: IP Address (Default: 127.0.0.1)
-d: Use HTTP/2 direct mode
-P: Origin port
-H: Origin host
-D: Use HTTP/2 direct mode to connect origin
-c: Certificate file
-k: Certificate key file
-o: Output log format (default or json, Default: default)
--version: Display version information and exit.
--help: Display this help and exit.
```## Screenshot
This screenshot shows the h2 frames between H2O and Safari 9.
