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