From 7400b04b02b2ab37ee8bd679e21678945e631552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20S=C3=B6derqvist?= Date: Mon, 18 Dec 2023 22:23:52 +0100 Subject: Remove next_protocols_advertised --- src/cowboy.erl | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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), -- cgit v1.2.3