netty/netty — pull request #294 by fredericBregier (2012-04-30 10:14:36+00:00)
Title: For Improvement Issues #290 and #290, plus the defect issue #291

Hi,

Here are the very same fixed issue while it is now using the "git" format (and better since I found out some mis configuration on my diff).

I checked those fix by applying them to my own local code.

#291: fix issue when last buffer is added while it switches from Memory to Disk storage

#290: improve performance by postponing force() on channel when all items are written, instead of doing it at every step. Also add some close() that were missing.

#292: improve performance (divide by almost 2) the HttpPostRequestDecoder by trying to use whenever possible the backend array of the Buffer instead of getting one by one the byte through getByte()

Frederic