diff options
author | Loïc Hoguin <[email protected]> | 2019-04-22 13:40:07 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-04-22 13:40:07 +0200 |
commit | 5e3a5337a34dcb09418d4f412b11ede4510e3ddc (patch) | |
tree | 294fde46b7b0775ce62c854892ddcf1c4a73ead2 /src/gun_http2.erl | |
parent | b2aed85a2a8794f0cc23755d1a10c602ab289ff4 (diff) | |
download | gun-5e3a5337a34dcb09418d4f412b11ede4510e3ddc.tar.gz gun-5e3a5337a34dcb09418d4f412b11ede4510e3ddc.tar.bz2 gun-5e3a5337a34dcb09418d4f412b11ede4510e3ddc.zip |
Make gun_tls_proxy work for HTTP/2 connections
Diffstat (limited to 'src/gun_http2.erl')
-rw-r--r-- | src/gun_http2.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gun_http2.erl b/src/gun_http2.erl index 8072a00..1dd2a75 100644 --- a/src/gun_http2.erl +++ b/src/gun_http2.erl @@ -285,6 +285,7 @@ prepare_headers(#http2_state{transport=Transport}, Method, Host0, Port, Path, He method => Method, scheme => case Transport of gun_tls -> <<"https">>; + gun_tls_proxy -> <<"https">>; gun_tcp -> <<"http">> end, authority => Authority, |