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 14:07:33 UTC

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

     [ https://issues.apache.org/jira/browse/COUCHDB-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-3318.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

> 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
>             Fix For: 2.1.0
>
>
> 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)