nmathewson/Libevent — Issue #35: evbuffer_remove_iovec(evbuffer *evb, ev_iovec *iov, size_t iov_num)
Author: yangacer
Created: 2011-12-07 08:50:28+00:00
State: open

I think it would be nice to have such function to own data inside an evbuffer such that avoid reclaiming a large enough raw buffer. Furthermore, if evbuffer_add_reference() can supply an interface that accepts an iovec, then we can freely share an iove to others want to write it to some file descriptors. Does this simplify what issue #24 want to accomplish? BTW, I have no idea about how the evbuffer_add_file will be affected by adding the proposed facilities.