summaryrefslogtreecommitdiffstats
path: root/docs/en/gun/2.0/guide/migrating_from_1.1.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-26 14:05:08 +0200
committerLoïc Hoguin <[email protected]>2019-09-26 14:05:08 +0200
commite39252ae5048156ac33999ce9bb07212798b6b80 (patch)
treee1659087748735d3e3ae223900c9b262446d2ef5 /docs/en/gun/2.0/guide/migrating_from_1.1.asciidoc
parenta710610c03c8b3dc78214f1a37abc9907eb3f5a8 (diff)
downloadninenines.eu-e39252ae5048156ac33999ce9bb07212798b6b80.tar.gz
ninenines.eu-e39252ae5048156ac33999ce9bb07212798b6b80.tar.bz2
ninenines.eu-e39252ae5048156ac33999ce9bb07212798b6b80.zip
Add Gun 2.0-pre documentation
But don't propagate via RSS.
Diffstat (limited to 'docs/en/gun/2.0/guide/migrating_from_1.1.asciidoc')
-rw-r--r--docs/en/gun/2.0/guide/migrating_from_1.1.asciidoc28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/en/gun/2.0/guide/migrating_from_1.1.asciidoc b/docs/en/gun/2.0/guide/migrating_from_1.1.asciidoc
new file mode 100644
index 00000000..bc2097f9
--- /dev/null
+++ b/docs/en/gun/2.0/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.