Add IOBufQueue::prepend, fix bug in IOBuf::prepend.
Summary: IOBuf::prepend needs to increment length_. Added IOBufQueue::prepend, which uses the headroom in the first buffer instead of growing the queue at the head. Test Plan: tests added Reviewed By: simpkins@fb.com FB internal diff: D513676
Showing
Please register or sign in to comment