From ea0296d1560557ce45cdfc197a0254fb15bd75f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 17 Sep 2018 15:47:48 +0200 Subject: Gun 1.2.0 --- doc/src/guide/book.asciidoc | 2 ++ doc/src/guide/migrating_from_1.1.asciidoc | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 doc/src/guide/migrating_from_1.1.asciidoc (limited to 'doc') diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc index 0fd92a4..821401b 100644 --- a/doc/src/guide/book.asciidoc +++ b/doc/src/guide/book.asciidoc @@ -20,4 +20,6 @@ include::websocket.asciidoc[Using Websocket] = Additional information +include::migrating_from_1.1.asciidoc[Migrating from Gun 1.1 to 1.2] + include::migrating_from_1.0.asciidoc[Migrating from Gun 1.0 to 1.1] diff --git a/doc/src/guide/migrating_from_1.1.asciidoc b/doc/src/guide/migrating_from_1.1.asciidoc new file mode 100644 index 0000000..bc2097f --- /dev/null +++ b/doc/src/guide/migrating_from_1.1.asciidoc @@ -0,0 +1,28 @@ +[appendix] +== Migrating from Gun 1.1 to 1.2 + +Gun 1.2 adds support for the CONNECT request over HTTP/1.1 +connections. + +== Features added + +* CONNECT requests can now be issued on HTTP/1.1 connections. + The tunneled connection can use any of the protocols Gun + supports: HTTP/1.1, HTTP/2 and Websocket over both TCP and + TLS transports. Note that Gun currently does not support + tunneling a TLS connection over a TLS connection due to + limitations in Erlang/OTP. + +* Gun supports sending multiple CONNECT requests, allowing + the tunnel to the origin server to go through multiple + proxies. + +* Gun supports sending CONNECT requests with authorization + credentials using the Basic authentication mechanism. + +* Update Cowlib to 2.6.0 + +== Functions added + +* The functions `gun:connect/2,3,4` have been added. They can + be used to initiate CONNECT requests on HTTP/1.1 connections. -- cgit v1.2.3