diff options
author | Viktor Söderqvist <[email protected]> | 2023-12-18 22:29:43 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-03-14 13:26:24 +0100 |
commit | 5e177270a2be530bbec55381d0fe66a252c3a998 (patch) | |
tree | e7631d0b68ce5c4367a19671fe12dc65fd9f1f36 /src/gun.erl | |
parent | f0c19d6674d792defc181333e20268b785ce4321 (diff) | |
download | gun-5e177270a2be530bbec55381d0fe66a252c3a998.tar.gz gun-5e177270a2be530bbec55381d0fe66a252c3a998.tar.bz2 gun-5e177270a2be530bbec55381d0fe66a252c3a998.zip |
Remove client_preferred_next_protocols
Diffstat (limited to 'src/gun.erl')
-rw-r--r-- | src/gun.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gun.erl b/src/gun.erl index 63f0ae8..31833f5 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -1119,8 +1119,7 @@ ensure_alpn_sni(Protocols0, TransOpts0, OriginHost) -> (_, Acc) -> Acc end, [], Protocols0), TransOpts = [ - {alpn_advertised_protocols, Protocols}, - {client_preferred_next_protocols, {client, Protocols, <<"http/1.1">>}} + {alpn_advertised_protocols, Protocols} |TransOpts0], %% SNI. %% |