aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-06-06 16:13:51 +0200
committerLoïc Hoguin <[email protected]>2016-06-06 16:13:51 +0200
commitd19134b02e5f85ea9c8bc6ed6e377ead3f670ad7 (patch)
treefb258194cc992d0dc051a38aa715794fa8765bfc /src/cowboy.erl
parentfb6940599c6195429b0471f2fd04f61af323ff3a (diff)
downloadcowboy-d19134b02e5f85ea9c8bc6ed6e377ead3f670ad7.tar.gz
cowboy-d19134b02e5f85ea9c8bc6ed6e377ead3f670ad7.tar.bz2
cowboy-d19134b02e5f85ea9c8bc6ed6e377ead3f670ad7.zip
Use the correct process type for clear connections
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r--src/cowboy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl
index d9c14ea..3387224 100644
--- a/src/cowboy.erl
+++ b/src/cowboy.erl
@@ -44,7 +44,7 @@
cowboy_protocol:opts()) -> {ok, pid()} | {error, any()}.
start_clear(Ref, NbAcceptors, TransOpts0, ProtoOpts)
when is_integer(NbAcceptors), NbAcceptors > 0 ->
- TransOpts = TransOpts0,%[connection_type(ProtoOpts)|TransOpts0],
+ TransOpts = [connection_type(ProtoOpts)|TransOpts0],
ranch:start_listener(Ref, NbAcceptors, ranch_tcp, TransOpts, cowboy_clear, ProtoOpts).
-spec start_tls(ranch:ref(), non_neg_integer(), ranch_ssl:opts(), opts()) -> {ok, pid()} | {error, any()}.