hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Berlin" <sber...@gmail.com>
Subject FileContentDecoder.transfer
Date Mon, 09 Jun 2008 16:34:08 GMT
I'm fairly certain there's a bug IdentityDecoder &
LengthDelimitedDecoder.transfer(FileChannel, position, count).  If
SessionInputBuffer.hasData() returns true, then an attempt is made to
read from the SessionInputBuffer into the FileChannel, but the
FileChannel is not positioned correctly beforehand, so the data will
be written to an arbitrary location.

I'll write up a test shortly to confirm this, but wanted to send an
email incase anyone can tell me I'm nuts and reading it wrong.


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

View raw message