diff options
author | Loïc Hoguin <[email protected]> | 2019-07-22 16:17:10 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-22 16:17:10 +0200 |
commit | 516933f9dd2722329b3886c495d5242308958fe1 (patch) | |
tree | 60b16423184a4db405a65266c326b7944ce42256 /src/gun_app.erl | |
parent | 265ece680c53f77d1685434d0636216c94021497 (diff) | |
download | gun-516933f9dd2722329b3886c495d5242308958fe1.tar.gz gun-516933f9dd2722329b3886c495d5242308958fe1.tar.bz2 gun-516933f9dd2722329b3886c495d5242308958fe1.zip |
Split domain lookup/connect/TLS handshake and add events
This changes the way we connect to servers entirely. We now have
three states when connecting (domain_lookup, connect and
tls_handshake when applicable) and as a result three corresponding
timeout options. Each state has a start/end event associated and
the event data was tweaked to best match each event. Since the
TLS handshake is separate, the transport_opts option was also
split into two: tcp_opts and tls_opts.
Diffstat (limited to 'src/gun_app.erl')
0 files changed, 0 insertions, 0 deletions