Skip to content

Commit

Permalink
forgot to save this change
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed May 3, 2013
1 parent 1ce583a commit 71a8c4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/couch_httpd/src/couch_httpd_config.erl
Expand Up @@ -36,10 +36,8 @@ reload_listener(Ref) ->
ranch:set_max_connections(Ref, NbAcceptors).

start_listener(Ref) ->
{Name, NbAcceptors, Transport,
TransOpts, ProtoOpts} = couch_httpd:child_spec(Ref),

ranch:start_listener(Name, NbAcceptors, Transport, TransOpts,
{NbAcceptors, Transport, TransOpts, ProtoOpts} = couch_httpd:child_spec(Ref),
ranch:start_listener(Ref, NbAcceptors, Transport, TransOpts,
couch_httpd_protocol, ProtoOpts).

stop_listener(Ref) ->
Expand Down

0 comments on commit 71a8c4f

Please sign in to comment.