From 8144aa0906957611def22044250572c5184e699c Mon Sep 17 00:00:00 2001 From: Alexander Duryagin Date: Wed, 27 Mar 2019 19:24:46 +0300 Subject: [PATCH] remove wrong flag from splice() call --- src/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channel.cpp b/src/channel.cpp index 838d3c6..55afb32 100644 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -189,7 +189,7 @@ void channel::finish(const error_code& ec) void channel::splice(int from, int to, long& spliced, error_code& ec) { statistics::increment("total_splices"); - spliced = ::splice(from, 0, to, 0, PIPE_SIZE, SPLICE_F_NONBLOCK | SPLICE_F_MORE | MSG_NOSIGNAL); + spliced = ::splice(from, 0, to, 0, PIPE_SIZE, SPLICE_F_NONBLOCK | SPLICE_F_MORE); if (spliced == -1) { ec = asio::error::make_error_code(static_cast(errno));