From b7c8021407965cd97bcc8051ddb0692145401cbf Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Mon, 8 Jun 2015 17:12:01 +0200 Subject: http2: using http2 implies SSL --- libpathod/pathoc_cmdline.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpathod') diff --git a/libpathod/pathoc_cmdline.py b/libpathod/pathoc_cmdline.py index fa30aa1e..dcd75d11 100644 --- a/libpathod/pathoc_cmdline.py +++ b/libpathod/pathoc_cmdline.py @@ -198,6 +198,9 @@ def args_pathoc(argv, stdout=sys.stdout, stderr=sys.stderr): if args.http2_skip_connection_preface: args.use_http2 = True + if args.use_http2: + args.ssl = True + reqs = [] for r in args.requests: if os.path.isfile(r): -- cgit v1.2.3