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 2015/08/21 10:15:46 UTC

[jira] [Commented] (COUCHDB-2783) Bind both to IPv4 and IPv6 addresses

    [ https://issues.apache.org/jira/browse/COUCHDB-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14706386#comment-14706386 ] 

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

GitHub user kxepal opened a pull request:

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

    Bind both to IPv4 and IPv6 with special "any" value

    This also removes need in special wrapper to handle atom as default
    for config:get call.
    
    COUCHDB-2783

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

    $ git pull https://github.com/kxepal/couchdb-couch 2783-bind-to-any-address

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

    https://github.com/apache/couchdb-couch/pull/89.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 #89
    
----
commit 819732ccb341b8d881eb461489220338a5f0caea
Author: Alexander Shorin <kx...@apache.org>
Date:   2015-08-21T08:14:28Z

    Bind both to IPv4 and IPv6 with special "any" value
    
    This also removes need in special wrapper to handle atom as default
    for config:get call.
    
    COUCHDB-2783

----


> Bind both to IPv4 and IPv6 addresses
> ------------------------------------
>
>                 Key: COUCHDB-2783
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2783
>             Project: CouchDB
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: HTTP Interface
>            Reporter: Alexander Shorin
>
> Mochiweb uses {{any}} atom to bind to [all available|https://github.com/mochi/mochiweb/blob/master/src/mochiweb_socket_server.erl#L193] ifaces and we [use|https://github.com/apache/couchdb-couch/blob/master/src/couch_httpd.erl#L93] it as a default value for {{bind_address}} option, but it's not legal value since we strictly require value to be valid IP address.



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