aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-03-06 17:48:35 +0100
committerLoïc Hoguin <[email protected]>2016-03-06 17:48:35 +0100
commit7bdd710849a35c12afe3f91bc5df4006db4c0282 (patch)
tree17b17bdaa94d529fd254ddbff545865e48214783 /src/cowboy.erl
parentb370442a6352c5acb13b88e135c32ca1720095bd (diff)
downloadcowboy-7bdd710849a35c12afe3f91bc5df4006db4c0282.tar.gz
cowboy-7bdd710849a35c12afe3f91bc5df4006db4c0282.tar.bz2
cowboy-7bdd710849a35c12afe3f91bc5df4006db4c0282.zip
Completely remove SPDY
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r--src/cowboy.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl
index 67afd7b..d9c14ea 100644
--- a/src/cowboy.erl
+++ b/src/cowboy.erl
@@ -52,8 +52,8 @@ start_tls(Ref, NbAcceptors, TransOpts0, ProtoOpts)
when is_integer(NbAcceptors), NbAcceptors > 0 ->
TransOpts = [
connection_type(ProtoOpts),
- {next_protocols_advertised, [<<"h2">>, <<"spdy/3">>, <<"http/1.1">>]},
- {alpn_preferred_protocols, [<<"h2">>, <<"spdy/3">>, <<"http/1.1">>]}
+ {next_protocols_advertised, [<<"h2">>, <<"http/1.1">>]},
+ {alpn_preferred_protocols, [<<"h2">>, <<"http/1.1">>]}
|TransOpts0],
ranch:start_listener(Ref, NbAcceptors, ranch_ssl, TransOpts, cowboy_tls, ProtoOpts).