Implement S/G IO for non-batched sends and eliminate more data copies (#2867)
This commit is contained in:
@@ -620,8 +620,10 @@ namespace platf {
|
||||
send_batch(batched_send_info_t &send_info);
|
||||
|
||||
struct send_info_t {
|
||||
const char *buffer;
|
||||
size_t size;
|
||||
const char *header;
|
||||
size_t header_size;
|
||||
const char *payload;
|
||||
size_t payload_size;
|
||||
|
||||
std::uintptr_t native_socket;
|
||||
boost::asio::ip::address &target_address;
|
||||
|
||||
Reference in New Issue
Block a user