netty/netty — pull request #708 by veebs (2012-11-04 00:13:02+00:00)
Title: #707 Make sure buffers are appended in sequence. Added tests.

There was one more problem. Because cIndex was not being reset, the buffers were not being appended but inserted in the middle.

I've fixed it and added some test case. Norman and Trustin, please revew and merge.

If you are happy with this fix, I'll send a pull request for the http multipart package. With this fix, the example HttpClientUpload and HttpServerUpload are now working.