On Sun, 2008-05-25 at 01:17 +0530, Asankha C. Perera wrote: > Hi Oleg >
... > I also have a question on the Shared buffer class.. in > SharedInputBuffer::consumeContent() > <http://hc.apache.org/httpcomponents-core/httpcore-nio/xref/org/apache/http/nio/util/SharedInputBuffer.html#80> > > why do you suspendInput if totalRead > 0? This does not mean that the > buffer is full.. and we could read more? If I change this condition to " > if (totalRead > 0) && !this.buffer.hasRemaining()) " my keep alives > "seems" to work.. but I am not sure if this is right or just lucky.. > Asankha This is clearly a bug. My bad. Many thanks for tracking it down. I committed the change to the SVN trunk. Could you please re-test Synapse against the latest SVN snapshot and let me know if the problem still persists? Oleg > thanks > asankha --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]