aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-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.
%%