For reference, this is what I'm trying to achieve with httpcore,
implemented (and working) with the jetty and servlet api.

http://pastebin.com/1Ennis2m

Dan

On Tue, Sep 16, 2014 at 12:59 AM, Daniel Feist <dfe...@gmail.com> wrote:

> Hi,
>
> I'm struggling to implement a simple echo server using http components
> aysnc api (HttpAsyncRequestHandler, HttpAsyncResponseProducer,
> HttpAsyncRequestConsumer) without using: "response.setEntity(new
> InputStreamEntity(requestEntity.getContent(),..,..)".
>
> This is my attempt:
>
> http://pastebin.com/Tbz0rxDH
>
> It seems to work for small http bodies, but as soon as the body size is
> larger than the buffer it hangs.
>
> Anything obvious i'm doing wrong?
>
> thanks,
> Dan
>
>
>

Reply via email to