From f499f9a3eae3318ff38ffcb69978c74322026440 Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Sat, 15 Dec 2018 08:07:14 +0100 Subject: [PATCH] [FSCP] Disable recycling mechanism for socket buffers. --- libs/fscp/src/server.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/fscp/src/server.cpp b/libs/fscp/src/server.cpp index cd6002b7..ecf2278d 100644 --- a/libs/fscp/src/server.cpp +++ b/libs/fscp/src/server.cpp @@ -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 )