[
https://issues.apache.org/jira/browse/COUCHDB-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897360#comment-15897360
]
ASF subversion and git services commented on COUCHDB-3318:
----------------------------------------------------------
Commit f706bb87be71006875c2fbaed3a14a18c79396f8 in couchdb-couch's branch
refs/heads/master from [~rnewson]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=f706bb8 ]
Efficiently bypass vhost handling if there are none
COUCHDB-3318
> 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)