- Notifications
You must be signed in to change notification settings - Fork1
UNIX-like command line HTTP/2 support check tool via ALPN.
License
NotificationsYou must be signed in to change notification settings
00xc/ish2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fast, lightweight CLI tool to check if a host supports HTTP/2 via ALPN.
Tested with OpenSSL 1.1.1d.
On Debian-based:sudo apt install libssl-dev
Usemake
. To skip certificate verification, compile withmake noverify
.
./ish2 host [port]
.
By default, port 443 is used.
For example:
$ ./ish2 www.google.comwww.google.com h2$ ./ish2 www.github.com 443www.github.com http/1.1
NOTE: this tool hangs when the server does not support HTTPS. The quickest workaround is to usetimeout(1):
$ timeout 3 ./ish2 deaddomain.com