Hi all,
Does anyone know how to claim-append part of bufferlist? After the head part has been claim-appended, the left part can be still cliam-appended.
I know there's bufferlist::claim_append API. However it will claim append the whole part of the bufferlist.
The background is:
The code is below (you can also click the above link to read the code, no more than 40 lines).
There're several bugs in the below code. I'm looking for the high efficiency method to receive the data and trigger the up software layer to read the data in the right way.
Any suggesion is welcome to supply the high efficiency method to do it.
B.R.
Changcheng