On Sun, Jul 5, 2009 at 9:51 PM, Benoit Chesneau<[email protected]> wrote: > 2009/7/6 Chris Anderson <[email protected]>: > >> 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
