allow to dequeue the first IOBuf in an IOBufQueue
authorAlessandro Salvatori <alessandros@fb.com>
Sat, 9 Mar 2013 02:16:59 +0000 (18:16 -0800)
committerOwen Yamauchi <oyamauchi@fb.com>
Wed, 27 Mar 2013 21:39:07 +0000 (14:39 -0700)
commit33a4bac623aab0fa4ea5e980fbb08b3766c40c98
tree7f1718cef60aba4ce2d3d863b181677feced69a0
parent81af5c4c569265ae4e503e96429d93f3d8f47e65
allow to dequeue the first IOBuf in an IOBufQueue

Summary: allow to dequeue the first IOBuf in an IOBufQueue

Test Plan: throughly tested with some dependent code in proxygen

Reviewed By: tudorb@fb.com

FB internal diff: D732484
folly/io/IOBufQueue.cpp
folly/io/IOBufQueue.h
folly/io/test/IOBufQueueTest.cpp