diff options
author | Loïc Hoguin <[email protected]> | 2018-09-26 12:08:11 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-09-26 12:08:11 +0200 |
commit | f328916937c67b3c9679e4f11d4594c39d36f85d (patch) | |
tree | 53c8c3df47443227fc2800ffe450c94ab7e58478 /src/gun_tls.erl | |
parent | baf0e420917ca1cb2806f8594a6cdb4710d2793d (diff) | |
download | gun-f328916937c67b3c9679e4f11d4594c39d36f85d.tar.gz gun-f328916937c67b3c9679e4f11d4594c39d36f85d.tar.bz2 gun-f328916937c67b3c9679e4f11d4594c39d36f85d.zip |
Keep track of the intermediaries the connection go through
Also augment the CONNECT tests to confirm that the
intermediaries are accounted for.
Diffstat (limited to 'src/gun_tls.erl')
-rw-r--r-- | src/gun_tls.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gun_tls.erl b/src/gun_tls.erl index f58620f..d377927 100644 --- a/src/gun_tls.erl +++ b/src/gun_tls.erl @@ -14,6 +14,7 @@ -module(gun_tls). +-export([name/0]). -export([messages/0]). -export([connect/3]). -export([connect/4]). @@ -22,6 +23,8 @@ -export([sockname/1]). -export([close/1]). +name() -> tls. + messages() -> {ssl, ssl_closed, ssl_error}. -spec connect(inet:socket(), any(), timeout()) |