receive buffer optimization. added receive_buffer_size and used_receive_buffer to peer_info. changed plugin api to make use of new disk_buffer_holder type
This commit is contained in:
@@ -2215,6 +2215,11 @@ namespace aux {
|
||||
{
|
||||
m_disk_thread.free_buffer(buf);
|
||||
}
|
||||
|
||||
char* session_impl::allocate_disk_buffer()
|
||||
{
|
||||
return m_disk_thread.allocate_buffer();
|
||||
}
|
||||
|
||||
std::pair<char*, int> session_impl::allocate_buffer(int size)
|
||||
{
|
||||
|
Reference in New Issue
Block a user