From baf0e420917ca1cb2806f8594a6cdb4710d2793d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 20 Sep 2018 15:06:42 +0200 Subject: Use ALPN when proxying TLS connections using CONNECT This fixes HTTP/2 over TLS connections. The protocol destination option has been deprecated in favor of a protocols option. --- doc/src/manual/gun.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src/manual/gun.asciidoc') diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc index 29ca3ea..9f753b4 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -93,7 +93,7 @@ connect_destination() :: #{ username => iodata(), password => iodata(), - protocol => http | http2, + protocols => [http | http2], transport => tcp | tls, tls_opts => [ssl:connect_option()], -- cgit v1.2.3