couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: proxy handler
Date Mon, 06 Jul 2009 05:09:01 GMT
On Sun, Jul 5, 2009 at 9:51 PM, Benoit Chesneau<bchesneau@gmail.com> wrote:
> 2009/7/6 Chris Anderson <jchris@apache.org>:
>
>> I've heard you can just connect the raw sockets together and it
>> works... not sure how that would look in practice.
>>
>
> Isn't it possible to only get the body streamed ? If I have a way to
> fetch the body when its coming (chunked) i could send it. Ince I use i
> browse to make connextion i could pass body ad fun arity 0 or fun
> arity1 with a State. Also I could optimize sending  of response by
> streaming from ibrowse to response body. I'm looking at it currently.
> I saw that you wrote the api to receive body chunked in mochiweb, do
> you think it's possible get it like it ?
>

Yes shouldn't be too hard. It's just a matter of hooking callbacks together.


-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message