Skip to content

Commit

Permalink
[FSCP] Disable recycling mechanism for socket buffers.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Dec 15, 2018
1 parent 82830f2 commit f499f9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/fscp/src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,11 +882,14 @@ namespace fscp
this,
get_identity(),
sender,
/*
SharedBuffer(receive_buffer, [this](const SharedBuffer& buffer) {
m_socket_strand.post([this, buffer]() {
m_socket_buffers.push_back(buffer);
});
}),
*/
receive_buffer,
boost::asio::placeholders::error,
boost::asio::placeholders::bytes_transferred
)
Expand Down

0 comments on commit f499f9a

Please sign in to comment.