hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpCore NIO performance improvements
Date Thu, 21 Feb 2013 20:31:24 GMT
On Thu, 2013-02-21 at 22:21 +0300, Dmitry Potapov wrote:
> I just want to say that when I'm setting TCP_NODELAY I expect that every
> portion of data is being transmitted right after I called
> ContentEncoder.write() (even without waiting for ACK for previous TCP
> packet)
> I've looked through the code in trunk, and looks like this expectation
> will fail after this change.


I am not entirely sure I understand what your expectation is based upon
but I am not a TCP/IP specialist. At any rate you can force HttpCore to
always write things out directly to the underlying channel by setting
the fragment hint parameter to zero.

Hope this helps


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message