You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2017/03/06 12:05:32 UTC

[jira] [Created] (COUCHDB-3318) bypass couch_httpd_vhost if there are none

Robert Newson created COUCHDB-3318:
--------------------------------------

             Summary: bypass couch_httpd_vhost if there are none
                 Key: COUCHDB-3318
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3318
             Project: CouchDB
          Issue Type: Bug
            Reporter: Robert Newson


all http requests call couch_httpd_vhost (a gen_server:call) on all requests. On hosts that have no virtual hosts this is a waste of time and can lead to request failures if the gen_server doesn't respond within the default timeout of five seconds.

Find an efficient way to avoid the gen_server call on hosts with no configured virtual hosts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)