incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-587) provide peer port information to externals
Date Tue, 01 Dec 2009 06:26:20 GMT

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

Paul Joseph Davis commented on COUCHDB-587:
-------------------------------------------

I think the "external script" refernece in COUCHDB-393 is misleading. That was meant as "a
script not under CouchDB's control." Passing port info along to the _external handlers should
be cake. There should be an example of grabbing that port info in couch_httpd.erl somewhere
after the loop starts as it writes that to the log.

Also 393 would've been trivial had a -S option not been vetoed.

> provide peer port information to externals
> ------------------------------------------
>
>                 Key: COUCHDB-587
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-587
>             Project: CouchDB
>          Issue Type: New Feature
>            Reporter: Mark Hammond
>
> When requests are made to an external, couch DB provides a 'peer' item in the request
info with the address of the couchdb instance (eg, 127.0.0.1).  CouchDB should also provide
the port on this address, so externals can reliably make requests back to couch.
> The comments in COUCHDB-393 imply this might not be trivial.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message