ILYA created COUCHDB-3000:
-----------------------------

             Summary: Authentication ddoc is not injected before it's use
                 Key: COUCHDB-3000
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3000
             Project: CouchDB
          Issue Type: Bug
            Reporter: ILYA


We inject auth_ddoc on start_listener event 
[here|https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd_auth_cache.erl#L116:L117].
However start_listener event is only sent when listener die 
[see|https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd_auth_cache.erl#L114].
We should call ensure_auth_ddoc_exists (or send start_listener event) from init.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to