aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Söderqvist <[email protected]>2023-12-18 22:29:43 +0100
committerLoïc Hoguin <[email protected]>2024-03-14 13:26:24 +0100
commit5e177270a2be530bbec55381d0fe66a252c3a998 (patch)
treee7631d0b68ce5c4367a19671fe12dc65fd9f1f36
parentf0c19d6674d792defc181333e20268b785ce4321 (diff)
downloadgun-5e177270a2be530bbec55381d0fe66a252c3a998.tar.gz
gun-5e177270a2be530bbec55381d0fe66a252c3a998.tar.bz2
gun-5e177270a2be530bbec55381d0fe66a252c3a998.zip
Remove client_preferred_next_protocols
-rw-r--r--src/gun.erl3
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.
%%