aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Söderqvist <[email protected]>2023-12-18 22:23:52 +0100
committerLoïc Hoguin <[email protected]>2023-12-19 11:57:54 +0100
commit7400b04b02b2ab37ee8bd679e21678945e631552 (patch)
tree1bca7101e3e834913eeab451ad6d2393ee3a72ae
parent8fdb74a5108fa8ec4e9a14fe7a9bc9686d7aad63 (diff)
downloadcowboy-7400b04b02b2ab37ee8bd679e21678945e631552.tar.gz
cowboy-7400b04b02b2ab37ee8bd679e21678945e631552.tar.bz2
cowboy-7400b04b02b2ab37ee8bd679e21678945e631552.zip
Remove next_protocols_advertised
-rw-r--r--src/cowboy.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl
index c4be25b..bd81cf3 100644
--- a/src/cowboy.erl
+++ b/src/cowboy.erl
@@ -54,7 +54,6 @@ start_tls(Ref, TransOpts0, ProtoOpts0) ->
TransOpts1 = ranch:normalize_opts(TransOpts0),
SocketOpts = maps:get(socket_opts, TransOpts1, []),
TransOpts2 = TransOpts1#{socket_opts => [
- {next_protocols_advertised, [<<"h2">>, <<"http/1.1">>]},
{alpn_preferred_protocols, [<<"h2">>, <<"http/1.1">>]}
|SocketOpts]},
{TransOpts, ConnectionType} = ensure_connection_type(TransOpts2),