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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15897183#comment-15897183 ] 

ASF GitHub Bot commented on COUCHDB-3318:
-----------------------------------------

GitHub user rnewson opened a pull request:

    https://github.com/apache/couchdb-couch/pull/232

    Efficiently bypass vhost handling if there are none

    COUCHDB-3318

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch 3318-bypass-vhosts

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/232.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #232
    
----
commit f706bb87be71006875c2fbaed3a14a18c79396f8
Author: Robert Newson <rn...@apache.org>
Date:   2017-03-06T12:05:33Z

    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
>
> 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)