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
8fdb74a510
commit
7400b04b02
1 changed files with 0 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue