mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Remove next_protocols_advertised
This commit is contained in:
parent
03a3bf4474
commit
de49521c52
1 changed files with 0 additions and 1 deletions
|
@ -54,7 +54,6 @@ start_tls(Ref, TransOpts0, ProtoOpts0) ->
|
||||||
TransOpts1 = ranch:normalize_opts(TransOpts0),
|
TransOpts1 = ranch:normalize_opts(TransOpts0),
|
||||||
SocketOpts = maps:get(socket_opts, TransOpts1, []),
|
SocketOpts = maps:get(socket_opts, TransOpts1, []),
|
||||||
TransOpts2 = TransOpts1#{socket_opts => [
|
TransOpts2 = TransOpts1#{socket_opts => [
|
||||||
{next_protocols_advertised, [<<"h2">>, <<"http/1.1">>]},
|
|
||||||
{alpn_preferred_protocols, [<<"h2">>, <<"http/1.1">>]}
|
{alpn_preferred_protocols, [<<"h2">>, <<"http/1.1">>]}
|
||||||
|SocketOpts]},
|
|SocketOpts]},
|
||||||
{TransOpts, ConnectionType} = ensure_connection_type(TransOpts2),
|
{TransOpts, ConnectionType} = ensure_connection_type(TransOpts2),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue