ntbtls-cli: New option --head and use a default SNI.
authorWerner Koch <wk@gnupg.org>
Mon, 20 Feb 2017 19:30:18 +0000 (20:30 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 20 Feb 2017 19:30:30 +0000 (20:30 +0100)
commitcd1bbb3182178fa1db487d8a1bcbc1647201ba97
tree2a92a3ed2e7a1b755a1ffff300915dc929225bb2
parent379c449b6fa539f188fc1d7666ceae17c40a645a
ntbtls-cli: New option --head and use a default SNI.

* src/ntbtls-cli.c (opt_head): New var.
(simple_client): Request "HEAD".
(main): Add option --head.  Use default SNI value.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/ntbtls-cli.c