Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 93931 invoked from network); 26 Sep 2010 21:00:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Sep 2010 21:00:32 -0000 Received: (qmail 15596 invoked by uid 500); 26 Sep 2010 21:00:31 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 15484 invoked by uid 500); 26 Sep 2010 21:00:31 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 15476 invoked by uid 99); 26 Sep 2010 21:00:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 21:00:31 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 21:00:26 +0000 Received: by iwn8 with SMTP id 8so5580900iwn.11 for ; Sun, 26 Sep 2010 14:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=YCGeSplY+Gsz695W0yMnXxkEtdfoMo4YF7rMjJq0L3U=; b=D+GZHo3PSn7UKXUMS0L6vuESIncKkmHzI8tRcZ5HUduUOYjMj0q/etpHmc/gEPFeEs zfJi6PSUojgIFWmFZpmkwxy2J1zi22kjIvkuBA7AIC6fhfwotO/pJmMAWMzFVshku4Gy ENXwb7Btj2G3Z1SKStnDmP6oLxUjduiZynw7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=dB/GrzHpWv/h3AAIPILI5KJoHEyOXzEhjbTGQ0DcobIzJf74oZx+DuH9ArWMG8UVT1 cve8E9LaBGVXoHMguIdoZR/ewpHlVIpxZqem5lnqtoBW+ZB30gWijl2HuU/13Qfn3c9t B0dfBkbTAhmOteJ/bCHcrFjQRI8e+eOAqW0E0= Received: by 10.231.11.3 with SMTP id r3mr7938177ibr.53.1285534805719; Sun, 26 Sep 2010 14:00:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.30.194 with HTTP; Sun, 26 Sep 2010 13:59:25 -0700 (PDT) In-Reply-To: References: From: Paul Davis Date: Sun, 26 Sep 2010 16:59:25 -0400 Message-ID: Subject: Re: Replacing the _external API To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Sat, Sep 25, 2010 at 7:28 PM, Paul Davis wrote: > I've implemented the OS daemons feature and added some preliminary etap tests. > > Patch as commit is here: > > http://github.com/davisp/couchdb/commit/01b75b8f74cd31605cbdbc3a6f6c7b9e8fcdcbe3 > > This feature affects zero functionality and is purely an addition to > CouchDB. I'm tempted to just and commit it because of that but I'm > gonna wait another day or two to see if someone comes up with a strong > opposition to this line of development. > > Feed back desired. > > Paul Davis > Here's the second part of the new API. Its an HTTP proxy. Yep. http://github.com/davisp/couchdb/tree/http_proxy Configure it like such: [httpd_global_handlers] _name = {couch_httpd_proxy, handle_proxy_req, <<"http://proxied-domain.tld/">>} It'll try and be as transparent as possible. I haven't got any tests for this other than just poking at it with cURL because I can't think of a decent way to implement the tests. If anyone has a good idea on that, send me a line. I'm gonna watch a bit more football and then put together a blog post that explains the current state of things, the new bits, and then shows the new stuff off with something that I think people might find interesting. HTH, Paul Davis